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.001257/0.001257, 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.001467/0.001467, 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 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.473 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.3/2.3, allocations: 390.3 MB / 0.6653 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12 kB / 0.8146 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6773, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00193/0.6793, allocations: 1.794 MB / 0.9553 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1367/0.816, allocations: 127.2 MB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.8164, allocations: 7.938 kB / 1.08 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009178/0.8173, allocations: 0.7329 MB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006798/0.818, allocations: 475 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.8189, allocations: 342.2 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.8194, allocations: 383.8 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.8196, allocations: 64.69 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.82, allocations: 291.2 kB / 1.082 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.8204, allocations: 355.2 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.8204, allocations: 8 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.8211, allocations: 283.6 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.8213, allocations: 175.4 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.13e-05/0.8214, allocations: 117.3 kB / 1.083 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.8219, allocations: 0.5129 MB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.8219, allocations: 0 / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8219, allocations: 0 / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.8219, allocations: 0 / 1.083 GB, free: 11.16 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.001495/0.8234, allocations: 0.9836 MB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.8235, allocations: 8.031 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.8235, allocations: 54.48 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.825, allocations: 190.8 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.8256, allocations: 459.5 kB / 1.085 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8257, allocations: 12.38 kB / 1.085 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.8257, allocations: 27.95 kB / 1.085 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.8266, allocations: 323 kB / 1.085 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.8266, allocations: 0 / 1.085 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.8266, allocations: 8 kB / 1.085 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.8266, allocations: 12 kB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.8278, allocations: 336.6 kB / 1.086 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.8298, allocations: 1.113 MB / 1.087 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.8309, allocations: 409.3 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.8309, allocations: 8 kB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.8317, allocations: 300.8 kB / 1.087 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.8317, allocations: 0 / 1.087 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.008078/0.8398, allocations: 1.207 MB / 1.088 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.8398, allocations: 81.11 kB / 1.089 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.8411, allocations: 1.345 MB / 1.09 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.8412, allocations: 33.7 kB / 1.09 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.8415, allocations: 368.4 kB / 1.09 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.761e-05/0.8415, allocations: 102.6 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.8416, allocations: 4 kB / 1.09 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.8417, allocations: 321.9 kB / 1.091 GB, free: 3.23 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00059/0.8423, allocations: 167.9 kB / 1.091 GB, free: 3.066 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.8429, allocations: 234.8 kB / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.8435, allocations: 181 kB / 1.091 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8435, allocations: 4 kB / 1.091 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003721/0.8473, allocations: 0.7035 MB / 1.092 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8473, allocations: 8 kB / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8473, allocations: 0 / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.8483, allocations: 180.7 kB / 1.092 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.8487, allocations: 63.89 kB / 1.092 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/0.8558, allocations: 2.171 MB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.8564, allocations: 51.75 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.8564, allocations: 15.98 kB / 1.094 GB, free: 15.31 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.0003544/0.8568, allocations: 293.7 kB / 1.095 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.8569, allocations: 82.95 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.8607, allocations: 0.7367 MB / 1.095 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.8607, allocations: 11.95 kB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.8607, allocations: 0 / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.8608, allocations: 3.984 kB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.8614, allocations: 0.5781 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.8614, allocations: 4 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.8617, allocations: 43.97 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009206/0.8626, allocations: 176.6 kB / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.8626, allocations: 23.94 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006878/0.8695, allocations: 2.173 MB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.8696, allocations: 0 / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.8732, allocations: 0.7559 MB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.8735, allocations: 159.9 kB / 1.099 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.8736, allocations: 4 kB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005552/0.8742, allocations: 31.97 kB / 1.099 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.8742, allocations: 23.97 kB / 1.099 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.8743, allocations: 19.97 kB / 1.099 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0009382/0.8752, allocations: 0.9988 MB / 1.1 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8753, allocations: 0 / 1.1 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004969/0.8758, allocations: 115.9 kB / 1.1 GB, free: 8.844 MB / 0.8575 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.004961/0.8807, allocations: 1.713 MB / 1.102 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.8824, allocations: 0.5452 MB / 1.103 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8825, allocations: 0 / 1.103 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000902/0.8834, allocations: 362.7 kB / 1.103 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.884, allocations: 95.84 kB / 1.103 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009624/0.8936, allocations: 5.494 MB / 1.108 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.8941, allocations: 0.9768 MB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003859/0.8945, allocations: 98.83 kB / 1.109 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.8949, allocations: 263.3 kB / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/0.8949, allocations: 0 / 1.11 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.9233, allocations: 16.83 MB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.9235, allocations: 245.5 kB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.918, allocations: 0 / 1.126 GB, free: 14.34 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