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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 109.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7611 GB, free: 11.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00193/0.00193, allocations: 55.91 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9079/0.9099, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002746/0.9126, allocations: 1.507 MB / 1.27 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.914, allocations: 0.8427 MB / 1.271 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.9141, allocations: 0 / 1.271 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.9141, allocations: 3.938 kB / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.9142, allocations: 15.81 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.9147, allocations: 151.5 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.9148, allocations: 91.77 kB / 1.271 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.9149, allocations: 11.92 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.195e-05/0.915, allocations: 51.77 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.9151, allocations: 43.83 kB / 1.271 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.9151, allocations: 8 kB / 1.271 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.9154, allocations: 123.9 kB / 1.271 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.9154, allocations: 27.89 kB / 1.272 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.9155, allocations: 39.8 kB / 1.272 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.9157, allocations: 189.2 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9157, allocations: 0 / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9158, allocations: 4 kB / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.9158, allocations: 0 / 1.272 GB, free: 2.074 MB / 0.9669 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.0007676/0.9165, allocations: 486.2 kB / 1.272 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.9166, allocations: 12.03 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.9166, allocations: 30.75 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.9166, allocations: 12.83 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.9168, allocations: 182.5 kB / 1.272 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.9168, allocations: 4.375 kB / 1.272 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.9168, allocations: 12.31 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.917, allocations: 89.7 kB / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.9171, allocations: 0 / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.9171, allocations: 0 / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.9171, allocations: 0 / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.9172, allocations: 51.95 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.9178, allocations: 332.6 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.918, allocations: 78.53 kB / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.9181, allocations: 36.84 kB / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.9181, allocations: 0 / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.9184, allocations: 95.45 kB / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.9184, allocations: 3.938 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004889/0.9189, allocations: 181.6 kB / 1.273 GB, free: 316 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.9189, allocations: 59.53 kB / 1.273 GB, free: 244 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.919, allocations: 130.1 kB / 1.273 GB, free: 100 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.919, allocations: 37.7 kB / 1.273 GB, free: 56 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.9191, allocations: 92.09 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.9191, allocations: 19.83 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.9192, allocations: 25.72 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9193, allocations: 326.8 kB / 1.274 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.9194, allocations: 27.98 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.9195, allocations: 73.92 kB / 1.274 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.9197, allocations: 101.9 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9197, allocations: 0 / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.9199, allocations: 125.5 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.9199, allocations: 4 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9199, allocations: 7.938 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.92, allocations: 4.188 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.92, allocations: 15.98 kB / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9201, allocations: 0 / 1.274 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.9201, allocations: 11.95 kB / 1.274 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.9201, allocations: 8 kB / 1.274 GB, free: 15.16 MB / 0.9825 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 0.0001031/0.9202, allocations: 130.2 kB / 1.274 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.9203, allocations: 11.89 kB / 1.274 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.9203, allocations: 16.75 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.9203, allocations: 4 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9203, allocations: 0 / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9203, allocations: 0 / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.9209, allocations: 434.3 kB / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9209, allocations: 0 / 1.275 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.9209, allocations: 7.938 kB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9209, allocations: 0 / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.9209, allocations: 8 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9209, allocations: 4 kB / 1.275 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9209, allocations: 7.922 kB / 1.275 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.9213, allocations: 235.5 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.9214, allocations: 89.05 kB / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.9214, allocations: 0 / 1.275 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.9215, allocations: 16 kB / 1.275 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.9215, allocations: 7.922 kB / 1.275 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.9216, allocations: 4 kB / 1.275 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.561e-05/0.9216, allocations: 105.5 kB / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9216, allocations: 3.938 kB / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003227/0.9219, allocations: 47.88 kB / 1.275 GB, free: 13.94 MB / 0.9825 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.0009721/0.9229, allocations: 0.853 MB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.9232, allocations: 84.2 kB / 1.276 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9232, allocations: 7.938 kB / 1.276 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.9233, allocations: 43.97 kB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.9236, allocations: 13.5 kB / 1.276 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.9253, allocations: 1.613 MB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.9257, allocations: 0.6885 MB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.9257, allocations: 4 kB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.9257, allocations: 23.42 kB / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.9257, allocations: 0 / 1.279 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0402/0.9659, allocations: 3.237 MB / 1.282 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.435/9.401, allocations: 11.08 kB / 1.282 GB, free: 7.383 MB / 0.9825 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.67785441596061]