Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001334, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001124, allocations: 197.9 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4885, allocations: 140.4 MB / 0.949 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002138/0.4906, allocations: 1.542 MB / 0.9505 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.4917, allocations: 0.8415 MB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.4918, allocations: 1.375 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.4918, allocations: 3.938 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.4919, allocations: 9.297 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.4923, allocations: 132.8 kB / 0.9515 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.4924, allocations: 84.55 kB / 0.9516 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.4925, allocations: 21.28 kB / 0.9516 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.4926, allocations: 32.34 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.4926, allocations: 44.53 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.4926, allocations: 4.906 kB / 0.9517 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.4928, allocations: 124.7 kB / 0.9518 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.4929, allocations: 19.72 kB / 0.9518 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.4929, allocations: 34.27 kB / 0.9519 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.4931, allocations: 177.5 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.4931, allocations: 3.984 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4931, allocations: 0 / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.4931, allocations: 0 / 0.952 GB, free: 6.777 MB / 0.7169 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.0005411/0.4937, allocations: 477.1 kB / 0.9525 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4937, allocations: 10.28 kB / 0.9525 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.597e-05/0.4938, allocations: 39.84 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.4938, allocations: 9.219 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.321e-05/0.4939, allocations: 185.8 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4939, allocations: 7.25 kB / 0.9527 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.4939, allocations: 8.5 kB / 0.9527 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.4941, allocations: 87.72 kB / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.4941, allocations: 0 / 0.9528 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4941, allocations: 5.125 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4941, allocations: 1.344 kB / 0.9528 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.4943, allocations: 53.73 kB / 0.9529 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4947, allocations: 321.9 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4949, allocations: 83.09 kB / 0.9533 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.495, allocations: 45.91 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.495, allocations: 5.922 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.4952, allocations: 87.86 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.4952, allocations: 5.062 kB / 0.9534 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.000441/0.4957, allocations: 190.8 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.4957, allocations: 53.78 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.4958, allocations: 144 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.4958, allocations: 26.83 kB / 0.9538 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.4958, allocations: 91.7 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.4959, allocations: 22.2 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.4959, allocations: 34.58 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.504e-05/0.496, allocations: 321.5 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.496, allocations: 21.92 kB / 0.9543 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.4961, allocations: 77.23 kB / 0.9543 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.4963, allocations: 101 kB / 0.9544 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4963, allocations: 3.938 kB / 0.9544 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002118/0.4965, allocations: 128 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4965, allocations: 4.531 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4965, allocations: 2.344 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4965, allocations: 2.656 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.672e-05/0.4966, allocations: 13.3 kB / 0.9546 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4966, allocations: 6.469 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.4967, allocations: 17.09 kB / 0.9546 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4967, allocations: 9.031 kB / 0.9546 GB, free: 4.363 MB / 0.7169 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 5.699e-05/0.4968, allocations: 125.1 kB / 0.9547 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.4968, allocations: 7.469 kB / 0.9547 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.4968, allocations: 10.38 kB / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4968, allocations: 1.312 kB / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4968, allocations: 5.406 kB / 0.9548 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4968, allocations: 0 / 0.9548 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.4973, allocations: 437.5 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4973, allocations: 0 / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.4973, allocations: 3.844 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4973, allocations: 1.25 kB / 0.9552 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.4974, allocations: 5.141 kB / 0.9552 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4974, allocations: 4 kB / 0.9552 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4974, allocations: 5.344 kB / 0.9552 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.4977, allocations: 252.6 kB / 0.9554 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.4977, allocations: 83.73 kB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4977, allocations: 1.312 kB / 0.9555 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4978, allocations: 9.703 kB / 0.9555 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.4979, allocations: 10.25 kB / 0.9555 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4979, allocations: 11.48 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.4979, allocations: 104.3 kB / 0.9556 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4979, allocations: 1.25 kB / 0.9556 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003022/0.4982, allocations: 46.75 kB / 0.9557 GB, free: 3.395 MB / 0.7169 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.0006468/0.4989, allocations: 0.8451 MB / 0.9565 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.4991, allocations: 86.66 kB / 0.9566 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.4991, allocations: 0 / 0.9566 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4993, allocations: 52.06 kB / 0.9566 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.4995, allocations: 16.67 kB / 0.9567 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5007, allocations: 1.603 MB / 0.9582 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.587e-05/0.5008, allocations: 0.692 MB / 0.9589 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.5009, allocations: 2.594 kB / 0.9589 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.5009, allocations: 24.52 kB / 0.9589 GB, free: 372 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5009, allocations: 0 / 0.9589 GB, free: 372 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9348/1.436, allocations: 2.969 MB / 0.9618 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/1.436, allocations: 284.7 kB / 0.9621 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.343, allocations: 4 kB / 0.9621 GB, free: 14.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches