Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.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.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",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.001031/0.001031, allocations: 91.84 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.00134/0.00134, 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.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.309 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.396/2.396, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003326, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6941, allocations: 142.3 MB / 0.9538 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002239/0.6964, allocations: 1.923 MB / 0.9557 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.143/0.8394, allocations: 138.1 MB / 1.091 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.8397, allocations: 7.938 kB / 1.091 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.8398, allocations: 27.66 kB / 1.091 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.8401, allocations: 87.38 kB / 1.091 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.8407, allocations: 247.2 kB / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.8411, allocations: 371.8 kB / 1.091 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.8413, allocations: 78.12 kB / 1.091 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.8417, allocations: 203.5 kB / 1.092 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.8419, allocations: 155.4 kB / 1.092 GB, free: 2.512 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.8419, allocations: 15.94 kB / 1.092 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.8424, allocations: 247.6 kB / 1.092 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.8425, allocations: 59.72 kB / 1.092 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.8425, allocations: 73.58 kB / 1.092 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.8429, allocations: 337.5 kB / 1.092 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8429, allocations: 0 / 1.092 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8429, allocations: 3.938 kB / 1.092 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.8429, allocations: 4 kB / 1.092 GB, free: 1.781 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001176/0.8441, allocations: 0.6625 MB / 1.093 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8442, allocations: 12.03 kB / 1.093 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.8442, allocations: 62.53 kB / 1.093 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.8467, allocations: 255.3 kB / 1.093 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.8471, allocations: 283.5 kB / 1.094 GB, free: 432 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.8471, allocations: 24.52 kB / 1.094 GB, free: 408 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.8472, allocations: 28 kB / 1.094 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.8485, allocations: 432.5 kB / 1.094 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8485, allocations: 4 kB / 1.094 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.8486, allocations: 12 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.8486, allocations: 8 kB / 1.094 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.8506, allocations: 0.5252 MB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.8534, allocations: 1.147 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.8553, allocations: 462.3 kB / 1.096 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000902/0.8562, allocations: 228.7 kB / 1.096 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.8563, allocations: 7.984 kB / 1.096 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.8563, allocations: 34.56 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/0.8563, allocations: 0 / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01332/0.8696, allocations: 1.713 MB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.8697, allocations: 55.41 kB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.8701, allocations: 304.5 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.8702, allocations: 33.7 kB / 1.099 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.8703, allocations: 168.2 kB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.8704, allocations: 86.75 kB / 1.099 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.8704, allocations: 4 kB / 1.099 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8706, allocations: 350.7 kB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008773/0.8714, allocations: 208.3 kB / 1.099 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.8724, allocations: 262.9 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009063/0.8733, allocations: 219.8 kB / 1.1 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8733, allocations: 0 / 1.1 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005875/0.8792, allocations: 0.8888 MB / 1.101 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.8792, allocations: 8 kB / 1.101 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8792, allocations: 0 / 1.101 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.8808, allocations: 289.3 kB / 1.101 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.8813, allocations: 59.95 kB / 1.101 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.8929, allocations: 3.769 MB / 1.105 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007515/0.8937, allocations: 79.58 kB / 1.105 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.8937, allocations: 19.97 kB / 1.105 GB, free: 4.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.8939, allocations: 145.7 kB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.894, allocations: 31.62 kB / 1.105 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006167/0.9002, allocations: 0.9433 MB / 1.106 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.9002, allocations: 4 kB / 1.106 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.9002, allocations: 3.953 kB / 1.106 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9002, allocations: 0 / 1.106 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.9007, allocations: 428.8 kB / 1.106 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.9007, allocations: 4 kB / 1.106 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003766/0.9011, allocations: 55.89 kB / 1.106 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.9026, allocations: 281.4 kB / 1.107 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.9027, allocations: 19.92 kB / 1.107 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.914, allocations: 3.758 MB / 1.11 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.914, allocations: 0 / 1.11 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005819/0.9198, allocations: 0.9503 MB / 1.111 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.92, allocations: 124.5 kB / 1.111 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.9201, allocations: 4 kB / 1.111 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.9207, allocations: 51.94 kB / 1.111 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.9208, allocations: 11.98 kB / 1.111 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.9208, allocations: 19.91 kB / 1.111 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000228/0.9211, allocations: 231 kB / 1.112 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9211, allocations: 0 / 1.112 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005792/0.9216, allocations: 108 kB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006545/0.9282, allocations: 1.506 MB / 1.113 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002803/0.931, allocations: 0.7276 MB / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9311, allocations: 0 / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.9326, allocations: 0.505 MB / 1.114 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008087/0.9335, allocations: 110.4 kB / 1.115 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.9437, allocations: 2.619 MB / 1.117 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.944, allocations: 0.7647 MB / 1.118 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005375/0.9446, allocations: 78.88 kB / 1.118 GB, free: 6.578 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.9448, allocations: 103.4 kB / 1.118 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.9448, allocations: 0 / 1.118 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.977, allocations: 15.68 MB / 1.133 GB, free: 7 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.9772, allocations: 217.3 kB / 1.134 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.971, allocations: 0 / 1.134 GB, free: 6.746 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat