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.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.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.001005/0.001005, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001233/0.001234, allocations: 172.7 kB / 15.95 MB, free: 208 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.584/1.584, allocations: 223.2 MB / 240 MB, free: 5.441 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.615/2.615, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.000385, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9268, allocations: 142.3 MB / 0.9538 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001939/0.9288, allocations: 1.197 MB / 0.955 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.9304, allocations: 0.764 MB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.9306, allocations: 1.062 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.9306, allocations: 3.938 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.9307, allocations: 14.02 kB / 0.9558 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.9316, allocations: 120.1 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.9318, allocations: 79.19 kB / 0.956 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.9319, allocations: 13.48 kB / 0.956 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.932, allocations: 39.67 kB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.9321, allocations: 36.25 kB / 0.9561 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.9321, allocations: 4.156 kB / 0.9561 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.9325, allocations: 124.6 kB / 0.9562 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.9325, allocations: 11.05 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.9326, allocations: 39.7 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.9329, allocations: 122.7 kB / 0.9563 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.9329, allocations: 4 kB / 0.9563 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9329, allocations: 0 / 0.9563 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.9329, allocations: 1.094 kB / 0.9563 GB, free: 6.164 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.0008371/0.9338, allocations: 477.3 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.9339, allocations: 8.531 kB / 0.9568 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.9339, allocations: 37.12 kB / 0.9568 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.934, allocations: 11.42 kB / 0.9569 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.9341, allocations: 179.8 kB / 0.957 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.9342, allocations: 2.969 kB / 0.957 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.9342, allocations: 5.156 kB / 0.957 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.9344, allocations: 87.89 kB / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9344, allocations: 0 / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.9345, allocations: 1.312 kB / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9345, allocations: 4 kB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.9347, allocations: 66.53 kB / 0.9572 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.9353, allocations: 324.9 kB / 0.9575 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.9355, allocations: 90.31 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.9357, allocations: 45.91 kB / 0.9576 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.9357, allocations: 9.188 kB / 0.9576 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.936, allocations: 100.1 kB / 0.9577 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.936, allocations: 0 / 0.9577 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005312/0.9365, allocations: 201.8 kB / 0.9579 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.9366, allocations: 57.17 kB / 0.958 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9367, allocations: 136.8 kB / 0.9581 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.9367, allocations: 35.48 kB / 0.9581 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.9368, allocations: 95.61 kB / 0.9582 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.9368, allocations: 17.52 kB / 0.9583 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.9368, allocations: 5.812 kB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.9369, allocations: 316.6 kB / 0.9586 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.937, allocations: 28.56 kB / 0.9586 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.454e-05/0.9371, allocations: 72.28 kB / 0.9587 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.9372, allocations: 34.55 kB / 0.9587 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.9372, allocations: 8.719 kB / 0.9587 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002589/0.9374, allocations: 128 kB / 0.9588 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.9375, allocations: 10.27 kB / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.9375, allocations: 4.844 kB / 0.9588 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.9375, allocations: 3.25 kB / 0.9588 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.9376, allocations: 19.11 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.9376, allocations: 2.469 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.9377, allocations: 14.75 kB / 0.9589 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.9377, allocations: 11.77 kB / 0.9589 GB, free: 3.852 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.242e-05/0.9378, allocations: 124.3 kB / 0.959 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.9379, allocations: 7.562 kB / 0.959 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.9379, allocations: 15.23 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.9379, allocations: 1.219 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9379, allocations: 0 / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9379, allocations: 3.984 kB / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.9385, allocations: 446.8 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9385, allocations: 1.531 kB / 0.9595 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.9386, allocations: 7.328 kB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.9386, allocations: 1.156 kB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.9386, allocations: 8.953 kB / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9386, allocations: 1.125 kB / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9386, allocations: 0 / 0.9595 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.939, allocations: 250.8 kB / 0.9597 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.939, allocations: 82.98 kB / 0.9598 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.9391, allocations: 9.672 kB / 0.9598 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.9392, allocations: 19.53 kB / 0.9598 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.9392, allocations: 3.781 kB / 0.9598 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.9393, allocations: 10.11 kB / 0.9598 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.9393, allocations: 103.5 kB / 0.9599 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9393, allocations: 0 / 0.9599 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003959/0.9397, allocations: 50.83 kB / 0.96 GB, free: 2.875 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.0008793/0.9406, allocations: 0.8523 MB / 0.9608 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.9409, allocations: 105.6 kB / 0.9609 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9409, allocations: 0 / 0.9609 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.941, allocations: 47.59 kB / 0.961 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.9413, allocations: 20.44 kB / 0.961 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.9425, allocations: 0.6616 MB / 0.9616 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.9426, allocations: 0.6947 MB / 0.9623 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.9427, allocations: 8.109 kB / 0.9623 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.9427, allocations: 18.81 kB / 0.9623 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9427, allocations: 0 / 0.9623 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.9581, allocations: 2.874 MB / 0.9651 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.9584, allocations: 262.1 kB / 0.9654 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.769, allocations: 5.969 kB / 0.9654 GB, free: 15.1 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat does not exist to compare? outputFormat=mat