Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_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.0008234/0.0008235, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.0008755/0.0008756, allocations: 176.7 kB / 15.95 MB, free: 192 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.309/1.309, allocations: 223.3 MB / 240 MB, free: 5.383 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.332/2.332, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6481, allocations: 142.3 MB / 0.9538 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002388/0.6505, allocations: 1.829 MB / 0.9556 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.7998, allocations: 136.8 MB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004818/0.8004, allocations: 11.94 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.8016, allocations: 0.7446 MB / 1.09 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008757/0.8025, allocations: 462.8 kB / 1.09 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.8037, allocations: 349.9 kB / 1.091 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.8043, allocations: 475.1 kB / 1.091 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.8045, allocations: 60.7 kB / 1.091 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.8049, allocations: 303.2 kB / 1.091 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.8054, allocations: 399 kB / 1.092 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.8054, allocations: 8 kB / 1.092 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.806, allocations: 275.5 kB / 1.092 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.8062, allocations: 175.4 kB / 1.092 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.8063, allocations: 121.3 kB / 1.092 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.8068, allocations: 0.5129 MB / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8068, allocations: 0 / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8068, allocations: 0 / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.8068, allocations: 0 / 1.093 GB, free: 1.293 MB / 0.8419 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.001316/0.8081, allocations: 0.9836 MB / 1.094 GB, free: 264 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8082, allocations: 12.03 kB / 1.094 GB, free: 252 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.8082, allocations: 54.48 kB / 1.094 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.8096, allocations: 194.8 kB / 1.094 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/0.8102, allocations: 451.6 kB / 1.095 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.8102, allocations: 12.38 kB / 1.095 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.8103, allocations: 23.95 kB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.8112, allocations: 327 kB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.8113, allocations: 3.938 kB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.8113, allocations: 8 kB / 1.095 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.8113, allocations: 11.98 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.8126, allocations: 332.7 kB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.8145, allocations: 1.12 MB / 1.096 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009943/0.8155, allocations: 402.4 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/0.8161, allocations: 201.6 kB / 1.097 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.8162, allocations: 8 kB / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007608/0.8169, allocations: 304.8 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.325e-06/0.817, allocations: 0 / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.007456/0.8244, allocations: 1.203 MB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.8245, allocations: 81.11 kB / 1.098 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.826, allocations: 1.349 MB / 1.1 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.8261, allocations: 37.7 kB / 1.1 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.8265, allocations: 360.5 kB / 1.1 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.8266, allocations: 102.6 kB / 1.1 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.8267, allocations: 12 kB / 1.1 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8268, allocations: 321.9 kB / 1.101 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.8274, allocations: 167.9 kB / 1.101 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.828, allocations: 238.7 kB / 1.101 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.8286, allocations: 177 kB / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8286, allocations: 0 / 1.101 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00337/0.832, allocations: 0.7074 MB / 1.102 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.832, allocations: 8 kB / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.832, allocations: 0 / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009069/0.833, allocations: 180.7 kB / 1.102 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.8333, allocations: 59.91 kB / 1.102 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006427/0.8397, allocations: 2.107 MB / 1.104 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.8403, allocations: 47.73 kB / 1.104 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.8403, allocations: 15.97 kB / 1.104 GB, free: 5.305 MB / 0.8575 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.000421/0.8407, allocations: 289.7 kB / 1.104 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.8409, allocations: 82.97 kB / 1.105 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.8445, allocations: 0.7522 MB / 1.105 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8445, allocations: 4 kB / 1.105 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.8445, allocations: 0 / 1.105 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.8445, allocations: 4 kB / 1.105 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.8453, allocations: 0.57 MB / 1.106 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8453, allocations: 3.938 kB / 1.106 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.8456, allocations: 48.28 kB / 1.106 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/0.8464, allocations: 184.5 kB / 1.106 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.8465, allocations: 19.97 kB / 1.106 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006219/0.8527, allocations: 2.091 MB / 1.108 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8527, allocations: 0 / 1.108 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.8564, allocations: 0.7542 MB / 1.109 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.8566, allocations: 155.9 kB / 1.109 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8567, allocations: 8 kB / 1.109 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.8572, allocations: 23.97 kB / 1.109 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.8572, allocations: 27.97 kB / 1.109 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.8573, allocations: 19.98 kB / 1.109 GB, free: 36 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001261/0.8586, allocations: 0.9988 MB / 1.11 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8586, allocations: 3.938 kB / 1.11 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006079/0.8592, allocations: 111.9 kB / 1.11 GB, free: 14.93 MB / 0.8731 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.004815/0.864, allocations: 1.631 MB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.8657, allocations: 0.5491 MB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8657, allocations: 0 / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008954/0.8666, allocations: 354.8 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007414/0.8674, allocations: 109.1 kB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.8775, allocations: 5.042 MB / 1.118 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.8782, allocations: 0.9645 MB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004176/0.8786, allocations: 86.86 kB / 1.119 GB, free: 6.121 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.8789, allocations: 263.3 kB / 1.119 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of SimCode: time 1.182e-06/0.879, allocations: 0 / 1.119 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.9121, allocations: 16.85 MB / 1.135 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.9123, allocations: 253.6 kB / 1.136 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.981, allocations: 0 / 1.136 GB, free: 4.902 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat does not exist to compare? outputFormat=mat