Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.0009115/0.0009115, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0009143/0.0009144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 239.9 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.3 MB / 0.6653 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 11.98 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8053, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.001496/0.8068, allocations: 1.194 MB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.808, allocations: 0.7664 MB / 0.9555 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.808, allocations: 1 kB / 0.9555 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.8081, allocations: 3.938 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.8081, allocations: 14.84 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.8086, allocations: 114.2 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.8087, allocations: 54.22 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.239e-05/0.8088, allocations: 21.44 kB / 0.9557 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.8089, allocations: 30.88 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.809, allocations: 45.3 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.809, allocations: 3.969 kB / 0.9558 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.8092, allocations: 93.06 kB / 0.9559 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.8092, allocations: 19.8 kB / 0.9559 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.8093, allocations: 42.64 kB / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.8095, allocations: 127.1 kB / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.8095, allocations: 0 / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8095, allocations: 0 / 0.956 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8095, allocations: 4 kB / 0.956 GB, free: 6.168 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.0006464/0.8102, allocations: 471.3 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8102, allocations: 8.906 kB / 0.9565 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.8103, allocations: 36.02 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.8103, allocations: 13.3 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.8104, allocations: 175.2 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.8104, allocations: 6.672 kB / 0.9567 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.8105, allocations: 8.469 kB / 0.9567 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.8107, allocations: 87.77 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8107, allocations: 0 / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8107, allocations: 0.9688 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.8107, allocations: 1.25 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.8109, allocations: 62.39 kB / 0.9569 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.8114, allocations: 332.2 kB / 0.9572 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.8116, allocations: 85.7 kB / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.8117, allocations: 4.953 kB / 0.9573 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.8119, allocations: 96.58 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.8119, allocations: 0 / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005243/0.8124, allocations: 208 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.8125, allocations: 58.72 kB / 0.9576 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.8126, allocations: 129.7 kB / 0.9578 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.8126, allocations: 31.52 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.8126, allocations: 99.66 kB / 0.9579 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.8127, allocations: 23.27 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.8127, allocations: 0 / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.8127, allocations: 322.5 kB / 0.9582 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.156e-05/0.8128, allocations: 32.11 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.8129, allocations: 72.22 kB / 0.9583 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/0.813, allocations: 36.33 kB / 0.9583 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.813, allocations: 0 / 0.9583 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002303/0.8132, allocations: 132.4 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8133, allocations: 6.094 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8133, allocations: 9.203 kB / 0.9585 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8133, allocations: 6.797 kB / 0.9585 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.8134, allocations: 15.41 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8134, allocations: 2.188 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.8135, allocations: 14.33 kB / 0.9585 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.8135, allocations: 8.469 kB / 0.9585 GB, free: 3.891 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 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,occ.y,$whenCondition1,ac.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.004e-05/0.8136, allocations: 126.7 kB / 0.9586 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.8136, allocations: 7.219 kB / 0.9587 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.8137, allocations: 10.81 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.8137, allocations: 8.969 kB / 0.9587 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8137, allocations: 1.094 kB / 0.9587 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8137, allocations: 0 / 0.9587 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.8142, allocations: 439.2 kB / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8142, allocations: 0 / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.8142, allocations: 8.297 kB / 0.9591 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8142, allocations: 9.391 kB / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.8143, allocations: 1.344 kB / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8143, allocations: 4 kB / 0.9591 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8143, allocations: 0 / 0.9591 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.8146, allocations: 251.7 kB / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.8146, allocations: 90.44 kB / 0.9594 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.8147, allocations: 9.484 kB / 0.9594 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.8148, allocations: 12.08 kB / 0.9595 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.8148, allocations: 6.484 kB / 0.9595 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.8149, allocations: 3.188 kB / 0.9595 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.8149, allocations: 102.8 kB / 0.9596 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.212e-06/0.8149, allocations: 0 / 0.9596 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000345/0.8153, allocations: 55.14 kB / 0.9596 GB, free: 2.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007881/0.8161, allocations: 0.8572 MB / 0.9605 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.8163, allocations: 92.27 kB / 0.9605 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8164, allocations: 1.75 kB / 0.9605 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.8165, allocations: 59.53 kB / 0.9606 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.8167, allocations: 12.81 kB / 0.9606 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.8175, allocations: 1.375 MB / 0.962 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.8176, allocations: 0.6957 MB / 0.9626 GB, free: 20 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.452e-05/0.8177, allocations: 8.031 kB / 0.9626 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.8177, allocations: 27.42 kB / 0.9627 GB, free: 16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8177, allocations: 0 / 0.9627 GB, free: 16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.831, allocations: 2.844 MB / 0.9655 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.8313, allocations: 255.2 kB / 0.9657 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.58, allocations: 3.375 kB / 0.9657 GB, free: 14.35 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat does not exist to compare? outputFormat=mat