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.0018/0.0018, allocations: 99.39 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.002209/0.00221, 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 2.509/2.509, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.254/4.254, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007163/0.0007166, allocations: 8 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236/1.236, allocations: 146.8 MB / 0.9808 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003775/1.24, allocations: 1.798 MB / 0.9826 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2461/1.486, allocations: 127.2 MB / 1.107 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003729/1.487, allocations: 0 / 1.107 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/1.488, allocations: 0.7368 MB / 1.108 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/1.489, allocations: 471 kB / 1.108 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/1.491, allocations: 341.8 kB / 1.108 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008632/1.492, allocations: 387.8 kB / 1.109 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/1.492, allocations: 56.7 kB / 1.109 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/1.493, allocations: 295.2 kB / 1.109 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/1.494, allocations: 347.2 kB / 1.109 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/1.494, allocations: 12 kB / 1.109 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009368/1.495, allocations: 283.6 kB / 1.11 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/1.495, allocations: 171.4 kB / 1.11 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/1.495, allocations: 121.3 kB / 1.11 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009886/1.496, allocations: 0.5207 MB / 1.11 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/1.496, allocations: 0 / 1.11 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.43e-06/1.496, allocations: 3.984 kB / 1.11 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.045e-06/1.496, allocations: 0 / 1.11 GB, free: 1.25 MB / 0.8575 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.002372/1.499, allocations: 0.9757 MB / 1.111 GB, free: 228 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.499, allocations: 12.03 kB / 1.111 GB, free: 216 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.889e-05/1.499, allocations: 54.53 kB / 1.111 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/1.501, allocations: 198.9 kB / 1.112 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.502, allocations: 451.4 kB / 1.112 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/1.502, allocations: 12.38 kB / 1.112 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.352e-05/1.503, allocations: 24 kB / 1.112 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/1.504, allocations: 323.2 kB / 1.112 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.504, allocations: 0 / 1.112 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/1.504, allocations: 12 kB / 1.112 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/1.504, allocations: 7.984 kB / 1.112 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/1.506, allocations: 328.7 kB / 1.113 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/1.51, allocations: 1.128 MB / 1.114 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.512, allocations: 401.9 kB / 1.114 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/1.512, allocations: 11.97 kB / 1.114 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00141/1.513, allocations: 304.7 kB / 1.115 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.787e-06/1.513, allocations: 0 / 1.115 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.01454/1.528, allocations: 1.204 MB / 1.116 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.528, allocations: 85.11 kB / 1.116 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/1.531, allocations: 1.341 MB / 1.117 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/1.531, allocations: 33.69 kB / 1.117 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/1.531, allocations: 364.5 kB / 1.118 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/1.531, allocations: 98.66 kB / 1.118 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/1.531, allocations: 4 kB / 1.118 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.532, allocations: 318 kB / 1.118 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/1.533, allocations: 167.9 kB / 1.118 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.534, allocations: 233.8 kB / 1.118 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.535, allocations: 179.9 kB / 1.118 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.535, allocations: 0 / 1.118 GB, free: 8.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006607/1.542, allocations: 0.7078 MB / 1.119 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.542, allocations: 11.95 kB / 1.119 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.542, allocations: 4.062 kB / 1.119 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/1.543, allocations: 172.7 kB / 1.119 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/1.544, allocations: 63.89 kB / 1.119 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/1.557, allocations: 2.178 MB / 1.122 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.558, allocations: 47.77 kB / 1.122 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/1.559, allocations: 15.98 kB / 1.122 GB, free: 5.414 MB / 0.8731 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.0009368/1.56, allocations: 299.4 kB / 1.122 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/1.56, allocations: 86.92 kB / 1.122 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006922/1.567, allocations: 0.7428 MB / 1.123 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.567, allocations: 0 / 1.123 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.567, allocations: 4 kB / 1.123 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/1.567, allocations: 3.984 kB / 1.123 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/1.568, allocations: 0.5777 MB / 1.123 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.568, allocations: 4 kB / 1.123 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/1.569, allocations: 47.91 kB / 1.123 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/1.57, allocations: 180.6 kB / 1.123 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/1.57, allocations: 11.98 kB / 1.123 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.583, allocations: 2.17 MB / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.583, allocations: 0 / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/1.589, allocations: 0.752 MB / 1.126 GB, free: 324 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/1.59, allocations: 155.9 kB / 1.126 GB, free: 148 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.59, allocations: 11.94 kB / 1.126 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/1.591, allocations: 27.98 kB / 1.127 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.591, allocations: 27.95 kB / 1.127 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.771e-05/1.591, allocations: 19.94 kB / 1.127 GB, free: 60 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001989/1.593, allocations: 1.003 MB / 1.128 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.6e-07/1.593, allocations: 0 / 1.128 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000976/1.594, allocations: 123.9 kB / 1.128 GB, free: 14.94 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.008767/1.603, allocations: 1.696 MB / 1.129 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002914/1.606, allocations: 0.5491 MB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.606, allocations: 4.062 kB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/1.607, allocations: 354.4 kB / 1.13 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.608, allocations: 112.6 kB / 1.13 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/1.627, allocations: 5.492 MB / 1.136 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.628, allocations: 0.9807 MB / 1.137 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008166/1.629, allocations: 86.86 kB / 1.137 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/1.63, allocations: 267.3 kB / 1.137 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of SimCode: time 2.013e-06/1.63, allocations: 0 / 1.137 GB, free: 5.316 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.248/2.877, allocations: 16.84 MB / 1.153 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004401/2.878, allocations: 247.3 kB / 1.154 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/6.776, allocations: 0 / 1.154 GB, free: 4.379 MB / 0.9044 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