Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",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.001121/0.001121, allocations: 91.92 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.001395/0.001395, 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.33/1.33, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 8 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5676, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002325/0.5699, allocations: 1.826 MB / 0.9829 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1355/0.7055, allocations: 136.8 MB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.7058, allocations: 7.938 kB / 1.116 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.7067, allocations: 0.7485 MB / 1.117 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0006954/0.7074, allocations: 470.8 kB / 1.118 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009641/0.7084, allocations: 333.9 kB / 1.118 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.709, allocations: 479.1 kB / 1.118 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.7092, allocations: 72.59 kB / 1.118 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.7098, allocations: 307.2 kB / 1.119 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.7103, allocations: 391 kB / 1.119 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.612e-05/0.7104, allocations: 15.98 kB / 1.119 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.7109, allocations: 271.6 kB / 1.119 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.7111, allocations: 175.4 kB / 1.12 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.7112, allocations: 121.3 kB / 1.12 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.7118, allocations: 0.5207 MB / 1.12 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7118, allocations: 0 / 1.12 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7119, allocations: 0 / 1.12 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.7119, allocations: 0 / 1.12 GB, free: 7.387 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001461/0.7133, allocations: 0.9797 MB / 1.121 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.7134, allocations: 8.031 kB / 1.121 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.085e-05/0.7135, allocations: 50.55 kB / 1.121 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.7149, allocations: 202.7 kB / 1.121 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.7155, allocations: 455.5 kB / 1.122 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.7155, allocations: 20.38 kB / 1.122 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.7156, allocations: 16 kB / 1.122 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.7164, allocations: 327.2 kB / 1.122 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7165, allocations: 4 kB / 1.122 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.7165, allocations: 4 kB / 1.122 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.7165, allocations: 4 kB / 1.122 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.7177, allocations: 336.7 kB / 1.123 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.7197, allocations: 1.112 MB / 1.124 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.7207, allocations: 397.4 kB / 1.124 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.7213, allocations: 203 kB / 1.124 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.7214, allocations: 8 kB / 1.124 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007635/0.7222, allocations: 308.7 kB / 1.125 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.7222, allocations: 0 / 1.125 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.007712/0.7299, allocations: 1.204 MB / 1.126 GB, free: 1.555 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.73, allocations: 81.11 kB / 1.126 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.7313, allocations: 1.349 MB / 1.127 GB, free: 100 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.7313, allocations: 33.7 kB / 1.127 GB, free: 60 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.7316, allocations: 364.4 kB / 1.127 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/0.7317, allocations: 102.6 kB / 1.128 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.7318, allocations: 11.94 kB / 1.128 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.7319, allocations: 314 kB / 1.128 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.7325, allocations: 171.9 kB / 1.128 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.7331, allocations: 229.8 kB / 1.128 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.7337, allocations: 179.9 kB / 1.128 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7337, allocations: 4 kB / 1.128 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003609/0.7373, allocations: 0.7078 MB / 1.129 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7374, allocations: 7.953 kB / 1.129 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.7374, allocations: 4 kB / 1.129 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/0.7383, allocations: 172.7 kB / 1.129 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.7387, allocations: 63.91 kB / 1.129 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/0.7453, allocations: 2.111 MB / 1.131 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.7457, allocations: 43.72 kB / 1.131 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.7458, allocations: 19.98 kB / 1.131 GB, free: 11.41 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003181/0.7461, allocations: 293.7 kB / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.607e-05/0.7462, allocations: 82.92 kB / 1.132 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.75, allocations: 0.7428 MB / 1.133 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.75, allocations: 4 kB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.75, allocations: 0 / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.75, allocations: 0 / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.7506, allocations: 0.5816 MB / 1.133 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7506, allocations: 0 / 1.133 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.7509, allocations: 51.91 kB / 1.133 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/0.7518, allocations: 176.6 kB / 1.133 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.7518, allocations: 15.97 kB / 1.133 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.7582, allocations: 2.095 MB / 1.135 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7582, allocations: 4.031 kB / 1.135 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003525/0.7617, allocations: 0.7425 MB / 1.136 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.7619, allocations: 159.9 kB / 1.136 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.762, allocations: 4 kB / 1.136 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.7624, allocations: 35.91 kB / 1.136 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.7625, allocations: 31.91 kB / 1.136 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.7625, allocations: 19.98 kB / 1.136 GB, free: 6.141 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001037/0.7636, allocations: 1.003 MB / 1.137 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7636, allocations: 0 / 1.137 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005721/0.7641, allocations: 111.9 kB / 1.137 GB, free: 5.035 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004855/0.769, allocations: 1.617 MB / 1.139 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.7706, allocations: 0.5491 MB / 1.14 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7706, allocations: 0 / 1.14 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.7715, allocations: 362.6 kB / 1.14 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.7721, allocations: 112.8 kB / 1.14 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009782/0.7819, allocations: 5.046 MB / 1.145 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.7825, allocations: 0.9684 MB / 1.146 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000401/0.7829, allocations: 86.86 kB / 1.146 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.7833, allocations: 267.3 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/0.7833, allocations: 4 kB / 1.146 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.8155, allocations: 16.85 MB / 1.163 GB, free: 11.34 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.8158, allocations: 260.1 kB / 1.163 GB, free: 11 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.888, allocations: 10.89 kB / 1.163 GB, free: 11 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat does not exist to compare? outputFormat=mat