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.001199/0.001199, allocations: 100.1 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.001389/0.001389, allocations: 177.3 kB / 15.95 MB, free: 216 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.511/1.511, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.469/2.469, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.001725/0.8244, allocations: 1.193 MB / 0.9548 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.8257, allocations: 0.7596 MB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.8258, allocations: 1.062 kB / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.8258, allocations: 0 / 0.9555 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.417e-05/0.8259, allocations: 18.17 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.8265, allocations: 118.6 kB / 0.9556 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.8266, allocations: 54.17 kB / 0.9557 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.8267, allocations: 9.156 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.8268, allocations: 39.27 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.8269, allocations: 37.16 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.827, allocations: 8.625 kB / 0.9558 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.8272, allocations: 100.4 kB / 0.9559 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.8272, allocations: 14.64 kB / 0.9559 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.8273, allocations: 36.33 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.8275, allocations: 121.7 kB / 0.956 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.8275, allocations: 1.219 kB / 0.956 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8275, allocations: 0 / 0.956 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.706e-06/0.8275, allocations: 0 / 0.956 GB, free: 6.195 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.0006329/0.8282, allocations: 493.2 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.8282, allocations: 9.156 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.22e-05/0.8282, allocations: 39.62 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.8283, allocations: 12.42 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.809e-05/0.8284, allocations: 172.6 kB / 0.9567 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.8284, allocations: 7.125 kB / 0.9567 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.8284, allocations: 7.859 kB / 0.9567 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.8287, allocations: 88.55 kB / 0.9568 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8287, allocations: 0 / 0.9568 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8287, allocations: 7.938 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.8287, allocations: 1.438 kB / 0.9568 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.8289, allocations: 61.84 kB / 0.9569 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.8294, allocations: 320.4 kB / 0.9572 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.8296, allocations: 94.62 kB / 0.9573 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.8296, allocations: 4.141 kB / 0.9573 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.8299, allocations: 96.98 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.8299, allocations: 0 / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005005/0.8304, allocations: 201.6 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.8304, allocations: 54.72 kB / 0.9576 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.8305, allocations: 140.9 kB / 0.9578 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8305, allocations: 31.8 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.8306, allocations: 99.53 kB / 0.9579 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.8306, allocations: 16.98 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.8306, allocations: 4 kB / 0.9579 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.8307, allocations: 318.8 kB / 0.9582 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.8308, allocations: 24.55 kB / 0.9582 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.8309, allocations: 71.28 kB / 0.9583 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.831, allocations: 40.39 kB / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.831, allocations: 0 / 0.9583 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002286/0.8312, allocations: 129 kB / 0.9585 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8312, allocations: 9.359 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.8312, allocations: 10.08 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8313, allocations: 1.844 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.8313, allocations: 12.75 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8314, allocations: 9.984 kB / 0.9585 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.8314, allocations: 17.25 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.8315, allocations: 9.312 kB / 0.9585 GB, free: 3.895 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 7.328e-05/0.8315, allocations: 119.2 kB / 0.9586 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.8316, allocations: 11.47 kB / 0.9587 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.8316, allocations: 12.3 kB / 0.9587 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8316, allocations: 3.953 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8316, allocations: 0 / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8316, allocations: 1.781 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.8321, allocations: 446 kB / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8321, allocations: 0 / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.8322, allocations: 9.234 kB / 0.9591 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.8322, allocations: 3.953 kB / 0.9591 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.8322, allocations: 5.312 kB / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.8322, allocations: 1.344 kB / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8322, allocations: 0 / 0.9591 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.8325, allocations: 254 kB / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.8326, allocations: 83.58 kB / 0.9594 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.8326, allocations: 9.047 kB / 0.9594 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.8327, allocations: 17.3 kB / 0.9595 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.8328, allocations: 9.422 kB / 0.9595 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.8328, allocations: 2.719 kB / 0.9595 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.8328, allocations: 105.6 kB / 0.9596 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8328, allocations: 0 / 0.9596 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003462/0.8332, allocations: 50.48 kB / 0.9596 GB, free: 2.922 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.0007708/0.834, allocations: 0.8549 MB / 0.9605 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.8342, allocations: 104.5 kB / 0.9606 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8342, allocations: 4 kB / 0.9606 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.8344, allocations: 44.89 kB / 0.9606 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.8346, allocations: 19.69 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.0007486/0.8353, allocations: 1.373 MB / 0.962 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.8355, allocations: 0.6918 MB / 0.9626 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.8355, allocations: 8.109 kB / 0.9626 GB, free: 24 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.8356, allocations: 20.94 kB / 0.9627 GB, free: 12 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8356, allocations: 4 kB / 0.9627 GB, free: 8 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.8506, allocations: 2.847 MB / 0.9654 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.8508, allocations: 256 kB / 0.9657 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.589, allocations: 0 / 0.9657 GB, free: 14.34 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