Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001453/0.001453, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001823/0.001823, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.861/2.861, allocations: 476.7 MB / 0.7679 GB, free: 9.32 MB / 0.6075 GB " [Timeout remaining time 177] 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.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.00219/0.00219, allocations: 67.91 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9433, 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.Exp): time 0.001932/0.9452, allocations: 0.6702 MB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.9464, allocations: 0.8484 MB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.9464, allocations: 0 / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.9465, allocations: 0.6562 kB / 1.28 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.9465, allocations: 4.969 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.9467, allocations: 9.938 kB / 1.281 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.9468, allocations: 24.89 kB / 1.281 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.774e-05/0.9469, allocations: 7.516 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.947, allocations: 13.34 kB / 1.281 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.348e-05/0.947, allocations: 16.75 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.947, allocations: 2.312 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.9471, allocations: 4.844 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.9471, allocations: 5.922 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.9471, allocations: 10.41 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.9472, allocations: 21.03 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.9472, allocations: 0.75 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9472, allocations: 0.9688 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9472, allocations: 0 / 1.281 GB, free: 10.61 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.0005206/0.9478, allocations: 348.6 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.9478, allocations: 14.44 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.673e-05/0.9478, allocations: 4.125 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.9478, allocations: 33.16 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.9479, allocations: 2.438 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.9481, allocations: 163.4 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.9481, allocations: 1.828 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.9481, allocations: 1.438 kB / 1.281 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.9483, allocations: 57.61 kB / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9483, allocations: 0 / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.9483, allocations: 0 / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.9483, allocations: 1.125 kB / 1.281 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.9485, allocations: 36.92 kB / 1.281 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.9489, allocations: 257.5 kB / 1.281 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.9491, allocations: 36.44 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.9492, allocations: 23.77 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.9492, allocations: 1.188 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.9492, allocations: 31.31 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9492, allocations: 1.094 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003958/0.9496, allocations: 87.19 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.9497, allocations: 53.2 kB / 1.282 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.9498, allocations: 104.5 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.9498, allocations: 26.86 kB / 1.282 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.9498, allocations: 81.17 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.9499, allocations: 5.016 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.9499, allocations: 20.78 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.95, allocations: 313.8 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.9501, allocations: 14.55 kB / 1.282 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.9502, allocations: 17.88 kB / 1.282 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.9504, allocations: 44.89 kB / 1.282 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.9504, allocations: 4.062 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002135/0.9506, allocations: 62.97 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.9506, allocations: 7.125 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.9506, allocations: 1.922 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.9506, allocations: 0 / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.9507, allocations: 9.312 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.9507, allocations: 0 / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.9508, allocations: 15.02 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.9508, allocations: 1.094 kB / 1.282 GB, free: 8.844 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.482e-05/0.9509, allocations: 117.5 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.9509, allocations: 5.719 kB / 1.283 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.9511, allocations: 75.02 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9511, allocations: 0.75 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9511, allocations: 0.7188 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9511, allocations: 8.625 kB / 1.283 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.9514, allocations: 164 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9514, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.9514, allocations: 9.391 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.9514, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.9514, allocations: 1.875 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9514, allocations: 0 / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9514, allocations: 1.094 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.9517, allocations: 165.9 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.9518, allocations: 82.8 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.9518, allocations: 1.734 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.9519, allocations: 9.875 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.9519, allocations: 2.422 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.9519, allocations: 1.062 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.616e-05/0.952, allocations: 79.92 kB / 1.283 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.952, allocations: 4.031 kB / 1.283 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002191/0.9522, allocations: 4 kB / 1.283 GB, free: 8.137 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.0007686/0.953, allocations: 0.6966 MB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.9532, allocations: 42.83 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9532, allocations: 0.5 kB / 1.284 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.9533, allocations: 20.41 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.9537, allocations: 3.422 kB / 1.284 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.9542, allocations: 138.3 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.9546, allocations: 0.6831 MB / 1.285 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.9546, allocations: 1.844 kB / 1.285 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.9546, allocations: 9.359 kB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.9546, allocations: 0 / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.9725, allocations: 1.314 MB / 1.286 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/9.553, allocations: 5.625 kB / 1.286 GB, free: 6.191 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.91490622702986]