Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.0008577/0.0008577, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008578/0.0008578, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8986/0.8986, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.9505 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.567e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001855/0.00187, allocations: 1.514 MB / 0.9519 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002898, allocations: 0.8495 MB / 0.9528 GB, free: 16 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.002958, allocations: 4 kB / 0.9528 GB, free: 12 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.002991, allocations: 7.875 kB / 0.9528 GB, free: 4 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.003056, allocations: 19.91 kB / 0.9528 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.0036, allocations: 171.2 kB / 0.953 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.003715, allocations: 99.62 kB / 0.9531 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.003809, allocations: 11.98 kB / 0.9531 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.00394, allocations: 59.88 kB / 0.9531 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.004005, allocations: 39.88 kB / 0.9532 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.004025, allocations: 8 kB / 0.9532 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002182/0.004243, allocations: 171.6 kB / 0.9533 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.004268, allocations: 31.84 kB / 0.9534 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.004301, allocations: 27.91 kB / 0.9534 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.00466, allocations: 211.4 kB / 0.9536 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.004662, allocations: 0 / 0.9536 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004663, allocations: 0 / 0.9536 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.004667, allocations: 0 / 0.9536 GB, free: 15.17 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005051/0.005172, allocations: 409 kB / 0.954 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.005209, allocations: 8.031 kB / 0.954 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.005239, allocations: 38.75 kB / 0.954 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.005395, allocations: 36.86 kB / 0.9541 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005552, allocations: 137.5 kB / 0.9542 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.005572, allocations: 4.375 kB / 0.9542 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.005585, allocations: 8.375 kB / 0.9542 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.00574, allocations: 82.19 kB / 0.9543 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.005747, allocations: 192 / 0.9543 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.005759, allocations: 8.125 kB / 0.9543 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005763, allocations: 4 kB / 0.9543 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.147e-05/0.005855, allocations: 47.97 kB / 0.9543 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.006213, allocations: 279.8 kB / 0.9546 GB, free: 14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.006359, allocations: 78.47 kB / 0.9547 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.006422, allocations: 40.83 kB / 0.9547 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.006442, allocations: 8 kB / 0.9547 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.00657, allocations: 99.39 kB / 0.9548 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.006571, allocations: 0 / 0.9548 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0003447/0.006915, allocations: 181.6 kB / 0.955 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.006953, allocations: 51.41 kB / 0.955 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.007031, allocations: 132.3 kB / 0.9552 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.007045, allocations: 33.7 kB / 0.9552 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.007094, allocations: 104.1 kB / 0.9553 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.007114, allocations: 23.98 kB / 0.9553 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.007151, allocations: 29.7 kB / 0.9554 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.007234, allocations: 322.8 kB / 0.9557 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.007275, allocations: 19.98 kB / 0.9557 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.007337, allocations: 75.19 kB / 0.9558 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.007447, allocations: 109.9 kB / 0.9559 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007449, allocations: 3.938 kB / 0.9559 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001377/0.007587, allocations: 125.4 kB / 0.956 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007599, allocations: 4 kB / 0.956 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007605, allocations: 8.188 kB / 0.956 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007616, allocations: 0 / 0.956 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.007668, allocations: 19.98 kB / 0.956 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.007673, allocations: 320 / 0.956 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.007706, allocations: 15.94 kB / 0.956 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.007715, allocations: 4 kB / 0.956 GB, free: 12.42 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 6.58e-05/0.007781, allocations: 129.7 kB / 0.9562 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.007791, allocations: 7.984 kB / 0.9562 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.007812, allocations: 16.72 kB / 0.9562 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007814, allocations: 4 kB / 0.9562 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.007819, allocations: 3.984 kB / 0.9562 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007823, allocations: 4 kB / 0.9562 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.00816, allocations: 397.4 kB / 0.9566 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008161, allocations: 0 / 0.9566 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.724e-05/0.008178, allocations: 7.984 kB / 0.9566 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.008179, allocations: 0 / 0.9566 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.008191, allocations: 8 kB / 0.9566 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.008192, allocations: 0 / 0.9566 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008193, allocations: 4 kB / 0.9566 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.008393, allocations: 247.3 kB / 0.9568 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.008399, allocations: 7.953 kB / 0.9568 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.008418, allocations: 11.98 kB / 0.9568 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.834e-05/0.008466, allocations: 4 kB / 0.9568 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.008499, allocations: 11.92 kB / 0.9569 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.008506, allocations: 0 / 0.9569 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.008549, allocations: 113.5 kB / 0.957 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008549, allocations: 4 kB / 0.957 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00021/0.008759, allocations: 47.88 kB / 0.957 GB, free: 11.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005836/0.009342, allocations: 0.8567 MB / 0.9579 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.009501, allocations: 87.83 kB / 0.9579 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009503, allocations: 0 / 0.9579 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.009578, allocations: 43.97 kB / 0.958 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.009762, allocations: 11.98 kB / 0.958 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.01083, allocations: 1.591 MB / 0.9595 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.01087, allocations: 83.42 kB / 0.9596 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.0109, allocations: 7.875 kB / 0.9596 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.01094, allocations: 32.47 kB / 0.9597 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.01094, allocations: 3.938 kB / 0.9597 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.02748, allocations: 4.067 MB / 0.9636 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/6.842, allocations: 9.25 kB / 0.9636 GB, free: 4.574 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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: 10.861442198045552]