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.00186/0.00186, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002182/0.002182, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.02 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.531/3.531, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002702/0.002702, allocations: 64.75 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3927, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00221/0.395, allocations: 0.6732 MB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3961, allocations: 0.8203 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3961, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.3961, allocations: 0 / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.3962, allocations: 3.938 kB / 1.354 GB, free: 6.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.3964, allocations: 23.91 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.3965, allocations: 16 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.3966, allocations: 7.984 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.3966, allocations: 19.88 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.3967, allocations: 11.98 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.3967, allocations: 0 / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-05/0.3967, allocations: 4 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.3967, allocations: 3.938 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3968, allocations: 11.98 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3969, allocations: 36.11 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3969, allocations: 0 / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3969, allocations: 0 / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3969, allocations: 0 / 1.354 GB, free: 6.77 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.0004215/0.3973, allocations: 262.3 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3973, allocations: 12.03 kB / 1.355 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.3974, allocations: 30.75 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.665e-05/0.3975, allocations: 8.938 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3976, allocations: 106.5 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3976, allocations: 4.312 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.3976, allocations: 8.312 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3978, allocations: 50.17 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3978, allocations: 11.94 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3978, allocations: 3.984 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3978, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.398, allocations: 31.95 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.3983, allocations: 216 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3984, allocations: 46.55 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.3985, allocations: 28.78 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3986, allocations: 0 / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3986, allocations: 30.56 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.3986, allocations: 0 / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003427/0.3989, allocations: 85.73 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.399, allocations: 51.41 kB / 1.355 GB, free: 5.648 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.3991, allocations: 97.84 kB / 1.356 GB, free: 5.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3991, allocations: 33.7 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.3991, allocations: 80.14 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3992, allocations: 3.953 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3992, allocations: 13.72 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3994, allocations: 318.8 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.3994, allocations: 20 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.3995, allocations: 19.98 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3997, allocations: 32.83 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3997, allocations: 3.938 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.3999, allocations: 73.67 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3999, allocations: 4 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3999, allocations: 0 / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3999, allocations: 4 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.4, allocations: 7.984 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.4, allocations: 3.938 kB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.4, allocations: 4 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.4, allocations: 0 / 1.356 GB, free: 4.898 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 9.269e-05/0.4001, allocations: 129.7 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.4002, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4004, allocations: 64.97 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4004, allocations: 4 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4004, allocations: 3.938 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4004, allocations: 0 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4006, allocations: 128.7 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4006, allocations: 3.984 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.4006, allocations: 16.03 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4006, allocations: 3.938 kB / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.4006, allocations: 0 / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.4006, allocations: 0 / 1.356 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4007, allocations: 7.938 kB / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.4009, allocations: 163.5 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.4009, allocations: 3.953 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4009, allocations: 7.984 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.401, allocations: 4 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.401, allocations: 7.984 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.401, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.4011, allocations: 79.28 kB / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4011, allocations: 0 / 1.357 GB, free: 4.211 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002128/0.4013, allocations: 4 kB / 1.357 GB, free: 4.207 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.000635/0.4019, allocations: 0.6929 MB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4022, allocations: 39.98 kB / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4022, allocations: 0 / 1.357 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.465e-05/0.4022, allocations: 19.98 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.4026, allocations: 7.875 kB / 1.357 GB, free: 3.422 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.403, allocations: 143.9 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.4034, allocations: 0.6768 MB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.4035, allocations: 4.125 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.4035, allocations: 7.766 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4035, allocations: 0 / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.4313, allocations: 1.391 MB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.18, allocations: 16.48 kB / 1.36 GB, free: 1.246 MB / 1.045 GB " [Timeout remaining time 289] (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: 18.482467091000217]