Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108.3 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 200.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.6 MB / 249.9 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.7 MB / 0.7635 GB, free: 10.19 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 68.16 kB / 1.108 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3861, allocations: 168.7 MB / 1.272 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002127/0.3883, allocations: 0.6634 MB / 1.273 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3894, allocations: 0.816 MB / 1.274 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/0.3894, allocations: 0 / 1.274 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.3895, allocations: 3.938 kB / 1.274 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.976e-05/0.3895, allocations: 4 kB / 1.274 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.3897, allocations: 15.91 kB / 1.274 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.3898, allocations: 19.98 kB / 1.274 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3899, allocations: 8 kB / 1.274 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.39, allocations: 15.81 kB / 1.274 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.39, allocations: 7.984 kB / 1.274 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.39, allocations: 8 kB / 1.274 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-06/0.39, allocations: 0 / 1.274 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.39, allocations: 8 kB / 1.274 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3901, allocations: 7.922 kB / 1.274 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/0.3902, allocations: 32.11 kB / 1.274 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3902, allocations: 0 / 1.274 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3902, allocations: 0 / 1.274 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3902, allocations: 0 / 1.274 GB, free: 10.18 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005281/0.3907, allocations: 335.5 kB / 1.274 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3908, allocations: 12.03 kB / 1.274 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.3908, allocations: 34.75 kB / 1.274 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.3908, allocations: 8.891 kB / 1.274 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.391, allocations: 160.4 kB / 1.275 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.391, allocations: 384 / 1.275 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.391, allocations: 8.359 kB / 1.275 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3912, allocations: 46.23 kB / 1.275 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.3912, allocations: 7.875 kB / 1.275 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3912, allocations: 4 kB / 1.275 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3913, allocations: 4 kB / 1.275 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.3914, allocations: 31.95 kB / 1.275 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.3918, allocations: 240.9 kB / 1.275 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3919, allocations: 42.53 kB / 1.275 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.392, allocations: 28.91 kB / 1.275 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.392, allocations: 0 / 1.275 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3921, allocations: 34.5 kB / 1.275 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.3921, allocations: 0 / 1.275 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003652/0.3924, allocations: 85.58 kB / 1.275 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.3925, allocations: 55.53 kB / 1.275 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.647e-05/0.3926, allocations: 97.84 kB / 1.275 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3926, allocations: 25.7 kB / 1.275 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.3927, allocations: 92.09 kB / 1.275 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3927, allocations: 3.953 kB / 1.275 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.3927, allocations: 9.719 kB / 1.275 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3929, allocations: 318.8 kB / 1.276 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.3929, allocations: 19.97 kB / 1.276 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.393, allocations: 19.92 kB / 1.276 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3932, allocations: 36.83 kB / 1.276 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3932, allocations: 3.938 kB / 1.276 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.3934, allocations: 65.72 kB / 1.276 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3934, allocations: 8.031 kB / 1.276 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3934, allocations: 7.938 kB / 1.276 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3934, allocations: 0 / 1.276 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.261e-05/0.3935, allocations: 11.98 kB / 1.276 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3935, allocations: 0 / 1.276 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.3935, allocations: 7.984 kB / 1.276 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3935, allocations: 0 / 1.276 GB, free: 8.113 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.3936, allocations: 125.7 kB / 1.276 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.3937, allocations: 4 kB / 1.276 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.3939, allocations: 64.78 kB / 1.276 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3939, allocations: 0 / 1.276 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3939, allocations: 0 / 1.276 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3939, allocations: 4 kB / 1.276 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3941, allocations: 161.6 kB / 1.276 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3941, allocations: 0 / 1.276 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.3942, allocations: 4 kB / 1.276 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3942, allocations: 4.031 kB / 1.276 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3942, allocations: 7.984 kB / 1.276 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3942, allocations: 0 / 1.276 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3942, allocations: 0 / 1.276 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3944, allocations: 171.3 kB / 1.276 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3945, allocations: 77.11 kB / 1.276 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3945, allocations: 4.031 kB / 1.276 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.3946, allocations: 7.938 kB / 1.276 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3946, allocations: 3.984 kB / 1.276 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3946, allocations: 4 kB / 1.276 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.3947, allocations: 83.45 kB / 1.277 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3947, allocations: 0 / 1.277 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000227/0.3949, allocations: 4 kB / 1.277 GB, free: 7.301 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006609/0.3956, allocations: 0.7012 MB / 1.277 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3958, allocations: 35.95 kB / 1.277 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3958, allocations: 96 / 1.277 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.3959, allocations: 23.98 kB / 1.277 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3962, allocations: 4 kB / 1.277 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.3967, allocations: 159.6 kB / 1.277 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.397, allocations: 0.6767 MB / 1.278 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.397, allocations: 0 / 1.278 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3971, allocations: 19.48 kB / 1.278 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.3971, allocations: 4 kB / 1.278 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.4218, allocations: 1.253 MB / 1.279 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.467, allocations: 6.125 kB / 1.279 GB, free: 4.418 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sin1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv. Warning: Get data of variable sin1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.114211546024308]