Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001757/0.001757, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001866/0.001866, allocations: 211 kB / 20.13 MB, free: 2.969 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="cs",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.003247/0.003247, allocations: 68.14 kB / 1.113 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.113, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002516/1.116, allocations: 0.6687 MB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001112/1.117, allocations: 0.8146 MB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/1.117, allocations: 0.7188 kB / 1.28 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/1.117, allocations: 7.938 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/1.117, allocations: 9.469 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/1.117, allocations: 9.625 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/1.117, allocations: 20.92 kB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/1.117, allocations: 7.703 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/1.117, allocations: 13.94 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/1.117, allocations: 9.391 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/1.117, allocations: 1.562 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/1.117, allocations: 4.375 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/1.117, allocations: 10.44 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/1.117, allocations: 14.91 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/1.118, allocations: 20.89 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.118, allocations: 1.656 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.118, allocations: 0 / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.591e-06/1.118, allocations: 3.938 kB / 1.281 GB, free: 10.62 MB / 0.9981 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.0005463/1.118, allocations: 341.2 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.118, allocations: 10.75 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.467e-05/1.118, allocations: 192 / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/1.118, allocations: 36.47 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/1.118, allocations: 4 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/1.118, allocations: 174.6 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/1.118, allocations: 5.469 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/1.118, allocations: 1.594 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/1.119, allocations: 52.98 kB / 1.281 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.119, allocations: 4 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.119, allocations: 0.875 kB / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.119, allocations: 0 / 1.281 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/1.119, allocations: 37.45 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/1.119, allocations: 254.2 kB / 1.281 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/1.119, allocations: 39.02 kB / 1.281 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.53e-05/1.12, allocations: 20.23 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/1.12, allocations: 5.156 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.12, allocations: 32.41 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.12, allocations: 0 / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003777/1.12, allocations: 82.73 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.12, allocations: 53.09 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/1.12, allocations: 105.7 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/1.12, allocations: 25.7 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/1.12, allocations: 81.89 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/1.12, allocations: 9.562 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/1.12, allocations: 12.28 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.12, allocations: 313.2 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.116e-05/1.12, allocations: 18.69 kB / 1.282 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.021e-05/1.121, allocations: 17.91 kB / 1.282 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/1.121, allocations: 40.81 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.121, allocations: 0 / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/1.121, allocations: 71.89 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.121, allocations: 4.906 kB / 1.282 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.121, allocations: 5.031 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.121, allocations: 0.5625 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/1.121, allocations: 9.562 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.121, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/1.121, allocations: 6.75 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/1.121, allocations: 0 / 1.282 GB, free: 8.863 MB / 0.9981 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 8.563e-05/1.121, allocations: 114.8 kB / 1.282 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/1.121, allocations: 9.781 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/1.121, allocations: 91.22 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.121, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.121, allocations: 0.9375 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.121, allocations: 0.75 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/1.122, allocations: 160.7 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.122, allocations: 0 / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/1.122, allocations: 8.094 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/1.122, allocations: 1.891 kB / 1.283 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/1.122, allocations: 4.031 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.122, allocations: 1.094 kB / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.122, allocations: 0 / 1.283 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/1.122, allocations: 163.1 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/1.122, allocations: 78.11 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/1.122, allocations: 1.125 kB / 1.283 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/1.122, allocations: 14.45 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/1.122, allocations: 2.531 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/1.122, allocations: 0.625 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.308e-05/1.122, allocations: 87.88 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.122, allocations: 0 / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002239/1.122, allocations: 4.031 kB / 1.283 GB, free: 8.148 MB / 0.9981 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.0006281/1.123, allocations: 0.7007 MB / 1.284 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002413/1.123, allocations: 35.42 kB / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.123, allocations: 0 / 1.284 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/1.123, allocations: 24.59 kB / 1.284 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.124, allocations: 6.891 kB / 1.284 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/1.124, allocations: 138.7 kB / 1.284 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/1.124, allocations: 0.6794 MB / 1.285 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.172e-05/1.124, allocations: 1.656 kB / 1.285 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/1.125, allocations: 9.453 kB / 1.285 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.125, allocations: 0 / 1.285 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/1.142, allocations: 1.339 MB / 1.286 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/9.418, allocations: 4.469 kB / 1.286 GB, free: 6.199 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.990680851973593]