Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 106.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002552/0.002552, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.323/3.323, allocations: 0.505 GB / 0.8066 GB, free: 23.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 69.78 kB / 1.172 GB, free: 17.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4066, allocations: 180.2 MB / 1.348 GB, free: 9.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001849/0.4084, allocations: 0.675 MB / 1.348 GB, free: 9.234 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.4094, allocations: 0.8164 MB / 1.349 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.4095, allocations: 0 / 1.349 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.4095, allocations: 7.938 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.218e-05/0.4096, allocations: 3.938 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.4098, allocations: 15.97 kB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.633e-05/0.4098, allocations: 23.94 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.829e-05/0.4099, allocations: 3.984 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.41, allocations: 11.94 kB / 1.349 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.873e-05/0.41, allocations: 7.984 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.41, allocations: 8 kB / 1.349 GB, free: 8.324 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/0.4101, allocations: 8 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.4101, allocations: 3.938 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.4101, allocations: 15.97 kB / 1.349 GB, free: 8.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4102, allocations: 24.12 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4102, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4103, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4103, allocations: 0 / 1.349 GB, free: 8.273 MB / 1.045 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.000495/0.4108, allocations: 339.5 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4108, allocations: 15.98 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.4108, allocations: 30.75 kB / 1.35 GB, free: 7.836 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.4109, allocations: 4.938 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.4111, allocations: 176.3 kB / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.4111, allocations: 384 / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.4111, allocations: 8.312 kB / 1.35 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.4113, allocations: 50.23 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.4113, allocations: 3.938 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4113, allocations: 3.938 kB / 1.35 GB, free: 7.551 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4113, allocations: 4 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4115, allocations: 31.97 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.4118, allocations: 252.8 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.412, allocations: 38.5 kB / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.412, allocations: 20.91 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.4121, allocations: 0 / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4121, allocations: 34.56 kB / 1.35 GB, free: 7.105 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 2.745e-06/0.4121, allocations: 3.984 kB / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.4125, allocations: 81.58 kB / 1.35 GB, free: 7.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.4125, allocations: 55.53 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.4126, allocations: 105.8 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.4126, allocations: 25.7 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.4127, allocations: 80.14 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4127, allocations: 7.953 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.4127, allocations: 13.72 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4128, allocations: 314.8 kB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.4129, allocations: 19.98 kB / 1.351 GB, free: 6.359 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.6e-05/0.413, allocations: 15.98 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.4132, allocations: 36.81 kB / 1.351 GB, free: 6.305 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4132, allocations: 3.938 kB / 1.351 GB, free: 6.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/0.4134, allocations: 73.66 kB / 1.351 GB, free: 6.223 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4134, allocations: 8 kB / 1.351 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4134, allocations: 4 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4134, allocations: 0 / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.4135, allocations: 7.984 kB / 1.351 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4135, allocations: 0 / 1.351 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.4135, allocations: 7.984 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.4136, allocations: 0 / 1.351 GB, free: 6.195 MB / 1.045 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 7.862e-05/0.4136, allocations: 113.8 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.4137, allocations: 4 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4139, allocations: 76.72 kB / 1.351 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4139, allocations: 0 / 1.351 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4139, allocations: 0 / 1.351 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4139, allocations: 0 / 1.351 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.4141, allocations: 161.6 kB / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4141, allocations: 3.938 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.4141, allocations: 11.98 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4141, allocations: 4.031 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4142, allocations: 7.938 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4142, allocations: 0 / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4142, allocations: 0 / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.4144, allocations: 163.5 kB / 1.352 GB, free: 5.574 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.4145, allocations: 81.06 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4145, allocations: 4.031 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.4146, allocations: 7.984 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4146, allocations: 4 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4146, allocations: 0 / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.4146, allocations: 87.22 kB / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4146, allocations: 0 / 1.352 GB, free: 5.375 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000212/0.4148, allocations: 4 kB / 1.352 GB, free: 5.371 MB / 1.045 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.0005857/0.4154, allocations: 0.6968 MB / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.4156, allocations: 31.97 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4156, allocations: 0 / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.4157, allocations: 24.02 kB / 1.353 GB, free: 4.59 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.416, allocations: 13.7 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.4165, allocations: 135.7 kB / 1.353 GB, free: 4.406 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4168, allocations: 0.6768 MB / 1.353 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.4168, allocations: 0 / 1.353 GB, free: 3.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.4168, allocations: 7.438 kB / 1.353 GB, free: 3.695 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.4168, allocations: 4.062 kB / 1.353 GB, free: 3.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.4413, allocations: 1.299 MB / 1.355 GB, free: 2.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.449, allocations: 3.938 kB / 1.355 GB, free: 2.48 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable arcSin.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv. Warning: Get data of variable arcSin.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.510144661879167]