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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001154/0.001154, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.2 MB / 0.6647 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.89 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.557, allocations: 140.4 MB / 0.9497 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003147/0.5602, allocations: 2.299 MB / 0.952 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1455/0.7058, allocations: 152 MB / 1.1 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.7061, allocations: 4 kB / 1.1 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.7064, allocations: 47.45 kB / 1.1 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.7069, allocations: 99.2 kB / 1.101 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008507/0.7078, allocations: 303 kB / 1.101 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.7083, allocations: 427.8 kB / 1.101 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.7086, allocations: 113.9 kB / 1.101 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.7099, allocations: 272.4 kB / 1.102 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.7101, allocations: 187.2 kB / 1.102 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.438e-05/0.7102, allocations: 28 kB / 1.102 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.7107, allocations: 283.6 kB / 1.102 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.7108, allocations: 87.72 kB / 1.102 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.711, allocations: 155.2 kB / 1.102 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.7117, allocations: 486.6 kB / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7117, allocations: 0 / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7117, allocations: 0 / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.7118, allocations: 0 / 1.103 GB, free: 4.484 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001537/0.7133, allocations: 0.7095 MB / 1.103 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7133, allocations: 8.031 kB / 1.103 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.7134, allocations: 62.72 kB / 1.104 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002849/0.7163, allocations: 267.2 kB / 1.104 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.7166, allocations: 291.3 kB / 1.104 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.7167, allocations: 24.56 kB / 1.104 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.7167, allocations: 28 kB / 1.104 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.7182, allocations: 420.5 kB / 1.105 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7182, allocations: 4 kB / 1.105 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.7182, allocations: 15.94 kB / 1.105 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7183, allocations: 11.98 kB / 1.105 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.7206, allocations: 0.5251 MB / 1.105 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.7236, allocations: 1.128 MB / 1.106 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.7259, allocations: 455.8 kB / 1.107 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.727, allocations: 232.6 kB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.7271, allocations: 7.984 kB / 1.107 GB, free: 164 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.7271, allocations: 38.5 kB / 1.107 GB, free: 116 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.7271, allocations: 0 / 1.107 GB, free: 116 kB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01625/0.7434, allocations: 1.724 MB / 1.109 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.7434, allocations: 55.41 kB / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.7437, allocations: 304.5 kB / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.7438, allocations: 29.7 kB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.7439, allocations: 172.2 kB / 1.109 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.744, allocations: 82.75 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.7442, allocations: 81.83 kB / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7443, allocations: 346.7 kB / 1.11 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.7453, allocations: 200.4 kB / 1.11 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.7464, allocations: 255 kB / 1.11 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.7485, allocations: 446.7 kB / 1.11 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7485, allocations: 0 / 1.11 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007109/0.7556, allocations: 0.8888 MB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7557, allocations: 4 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7557, allocations: 4 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.7576, allocations: 281.3 kB / 1.112 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004652/0.7581, allocations: 71.88 kB / 1.112 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.7726, allocations: 4.089 MB / 1.116 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.7735, allocations: 75.55 kB / 1.116 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.7736, allocations: 19.91 kB / 1.116 GB, free: 6.613 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.7738, allocations: 149.7 kB / 1.116 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.7739, allocations: 31.62 kB / 1.116 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007431/0.7813, allocations: 0.9503 MB / 1.117 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7813, allocations: 4 kB / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.7813, allocations: 3.938 kB / 1.117 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7814, allocations: 0 / 1.117 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005009/0.7819, allocations: 436.7 kB / 1.117 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.7819, allocations: 0 / 1.117 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.7823, allocations: 55.89 kB / 1.117 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.7842, allocations: 281.4 kB / 1.118 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.7842, allocations: 7.984 kB / 1.118 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/0.7986, allocations: 4.088 MB / 1.122 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7986, allocations: 0 / 1.122 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/0.8059, allocations: 0.957 MB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.806, allocations: 104.7 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.8061, allocations: 4 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.8069, allocations: 47.89 kB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.807, allocations: 27.91 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.807, allocations: 11.97 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000218/0.8072, allocations: 227.1 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8072, allocations: 4 kB / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005766/0.8078, allocations: 115.8 kB / 1.123 GB, free: 14.74 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007488/0.8153, allocations: 1.518 MB / 1.125 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002819/0.8181, allocations: 0.74 MB / 1.125 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8182, allocations: 0 / 1.125 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.8197, allocations: 0.5049 MB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.8204, allocations: 106.8 kB / 1.126 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.8394, allocations: 4.399 MB / 1.13 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.8397, allocations: 0.7722 MB / 1.131 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004948/0.8403, allocations: 82.86 kB / 1.131 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.8405, allocations: 99.39 kB / 1.131 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of SimCode: time 6.01e-07/0.8405, allocations: 0 / 1.131 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.88, allocations: 16.52 MB / 1.147 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.75, allocations: 5.656 kB / 1.147 GB, free: 5.938 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches