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.001214/0.001214, allocations: 108 kB / 15.61 MB, free: 152 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.001248/0.001249, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.228/1.228, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.137/2.137, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.8126 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5164, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002715/0.5191, allocations: 2.308 MB / 0.952 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1456/0.6647, allocations: 152 MB / 1.1 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.6651, allocations: 4 kB / 1.1 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.6654, allocations: 51.45 kB / 1.1 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.6659, allocations: 103.2 kB / 1.101 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.6668, allocations: 307 kB / 1.101 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.6674, allocations: 423.8 kB / 1.101 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.6677, allocations: 109.9 kB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.6689, allocations: 278.3 kB / 1.102 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.6692, allocations: 183.2 kB / 1.102 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.6693, allocations: 32 kB / 1.102 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005449/0.6698, allocations: 279.6 kB / 1.102 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.6699, allocations: 75.73 kB / 1.102 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.6701, allocations: 163.2 kB / 1.102 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.6708, allocations: 494.5 kB / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6709, allocations: 0 / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.906e-06/0.6709, allocations: 0 / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.6709, allocations: 3.938 kB / 1.103 GB, free: 4.488 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.001501/0.6724, allocations: 0.7056 MB / 1.103 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.6724, allocations: 12.03 kB / 1.103 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.708e-05/0.6725, allocations: 66.72 kB / 1.104 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.6752, allocations: 263.2 kB / 1.104 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.6756, allocations: 287.4 kB / 1.104 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6756, allocations: 24.55 kB / 1.104 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.6757, allocations: 24 kB / 1.104 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6771, allocations: 432.5 kB / 1.105 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6771, allocations: 0 / 1.105 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.6771, allocations: 15.94 kB / 1.105 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6772, allocations: 4 kB / 1.105 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.6793, allocations: 0.5252 MB / 1.105 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.6822, allocations: 1.132 MB / 1.106 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.6843, allocations: 458.3 kB / 1.107 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009988/0.6854, allocations: 224.7 kB / 1.107 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.6854, allocations: 7.984 kB / 1.107 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6854, allocations: 42.5 kB / 1.107 GB, free: 124 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.6854, allocations: 0 / 1.107 GB, free: 124 kB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01549/0.7009, allocations: 1.721 MB / 1.109 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.701, allocations: 55.41 kB / 1.109 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.7013, allocations: 304.5 kB / 1.109 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.7013, allocations: 33.7 kB / 1.109 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.7014, allocations: 164.2 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.7015, allocations: 94.73 kB / 1.109 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.7017, allocations: 77.83 kB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7018, allocations: 346.7 kB / 1.11 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.7028, allocations: 200.4 kB / 1.11 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.7039, allocations: 258.9 kB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.706, allocations: 438.8 kB / 1.11 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.706, allocations: 0 / 1.11 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006846/0.7128, allocations: 0.8966 MB / 1.111 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7129, allocations: 4 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7129, allocations: 3.938 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.7147, allocations: 281.4 kB / 1.112 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.7151, allocations: 67.81 kB / 1.112 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/0.7293, allocations: 4.089 MB / 1.116 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.7301, allocations: 75.58 kB / 1.116 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.7301, allocations: 19.97 kB / 1.116 GB, free: 6.621 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.0001951/0.7303, allocations: 145.7 kB / 1.116 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.7304, allocations: 35.62 kB / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/0.7374, allocations: 0.9462 MB / 1.117 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.7375, allocations: 4 kB / 1.117 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.7375, allocations: 0 / 1.117 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7375, allocations: 0 / 1.117 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.738, allocations: 432.7 kB / 1.117 GB, free: 5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.738, allocations: 0 / 1.117 GB, free: 5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.7384, allocations: 63.89 kB / 1.117 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.7401, allocations: 281.3 kB / 1.118 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.7401, allocations: 7.984 kB / 1.118 GB, free: 4.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.7537, allocations: 4.088 MB / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7537, allocations: 0 / 1.122 GB, free: 284 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/0.7604, allocations: 0.957 MB / 1.123 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.7605, allocations: 112.7 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.7606, allocations: 4 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.7613, allocations: 43.95 kB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.7614, allocations: 23.91 kB / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.7614, allocations: 23.97 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002091/0.7616, allocations: 223.1 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7616, allocations: 3.938 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005233/0.7622, allocations: 111.8 kB / 1.123 GB, free: 14.75 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.007078/0.7693, allocations: 1.515 MB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002643/0.7719, allocations: 0.7323 MB / 1.125 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7719, allocations: 4 kB / 1.125 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.7734, allocations: 0.5088 MB / 1.126 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.774, 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.01819/0.7922, allocations: 4.399 MB / 1.13 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.7925, allocations: 0.7722 MB / 1.131 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.7929, allocations: 74.88 kB / 1.131 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.7931, allocations: 103.4 kB / 1.131 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of SimCode: time 1.643e-06/0.7931, allocations: 3.938 kB / 1.131 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.8313, allocations: 16.52 MB / 1.147 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.89, allocations: 10.31 kB / 1.147 GB, free: 5.941 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 & /home/hudson/saved_omc/OMSimulator/install/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/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