Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_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.001249/0.001248, 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.001253/0.001253, allocations: 192.3 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5704, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003382/0.5738, allocations: 2.308 MB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1452/0.719, allocations: 152 MB / 1.168 GB, free: 7.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.7192, allocations: 11.94 kB / 1.168 GB, free: 7.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.7194, allocations: 43.47 kB / 1.168 GB, free: 7.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.7197, allocations: 91.2 kB / 1.168 GB, free: 7.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.7203, allocations: 303 kB / 1.169 GB, free: 7.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.7207, allocations: 435.8 kB / 1.169 GB, free: 6.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.7209, allocations: 109.9 kB / 1.169 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.7221, allocations: 265.5 kB / 1.169 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.7223, allocations: 195.2 kB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.7224, allocations: 28 kB / 1.17 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.7228, allocations: 283.6 kB / 1.17 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.7229, allocations: 79.73 kB / 1.17 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.7231, allocations: 167.2 kB / 1.17 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.7237, allocations: 474.6 kB / 1.17 GB, free: 5.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7237, allocations: 0 / 1.17 GB, free: 5.164 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7237, allocations: 4 kB / 1.17 GB, free: 5.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.7237, allocations: 0 / 1.17 GB, free: 5.16 MB / 0.92 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.001401/0.7251, allocations: 0.7134 MB / 1.171 GB, free: 4.395 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7251, allocations: 8.031 kB / 1.171 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.347e-05/0.7252, allocations: 58.73 kB / 1.171 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.7278, allocations: 259.3 kB / 1.171 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.7281, allocations: 295.3 kB / 1.172 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.7282, allocations: 24.55 kB / 1.172 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.7282, allocations: 28 kB / 1.172 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.7295, allocations: 428.5 kB / 1.172 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7296, allocations: 4 kB / 1.172 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.7296, allocations: 11.94 kB / 1.172 GB, free: 3.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7296, allocations: 8 kB / 1.172 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.7318, allocations: 0.5251 MB / 1.173 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.7345, allocations: 1.143 MB / 1.174 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.7367, allocations: 457.7 kB / 1.174 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009946/0.7377, allocations: 232.7 kB / 1.175 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.876e-05/0.7377, allocations: 12.38 kB / 1.175 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.7377, allocations: 46.44 kB / 1.175 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/0.7377, allocations: 0 / 1.175 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.0146/0.7523, allocations: 1.719 MB / 1.176 GB, free: 15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.7524, allocations: 59.34 kB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.7527, allocations: 308.5 kB / 1.177 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.7527, allocations: 33.69 kB / 1.177 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.7528, allocations: 168.2 kB / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.7529, allocations: 82.75 kB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.7531, allocations: 81.77 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7532, allocations: 346.7 kB / 1.177 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009775/0.7542, allocations: 204.4 kB / 1.177 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.7552, allocations: 262.9 kB / 1.178 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.7571, allocations: 430.3 kB / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.7572, allocations: 0 / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006492/0.7636, allocations: 0.8966 MB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7637, allocations: 4 kB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7637, allocations: 8 kB / 1.179 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.7654, allocations: 277.4 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.7659, allocations: 75.83 kB / 1.179 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.7793, allocations: 4.079 MB / 1.183 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.78, allocations: 79.53 kB / 1.183 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.7801, allocations: 19.97 kB / 1.183 GB, free: 7.258 MB / 0.9356 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.0001779/0.7803, allocations: 141.8 kB / 1.184 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.7804, allocations: 31.62 kB / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006695/0.7871, allocations: 0.9477 MB / 1.185 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7871, allocations: 4 kB / 1.185 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7871, allocations: 4 kB / 1.185 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7871, allocations: 4 kB / 1.185 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.7876, allocations: 428.9 kB / 1.185 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7876, allocations: 0 / 1.185 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.788, allocations: 51.94 kB / 1.185 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.7896, allocations: 285.3 kB / 1.185 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.7897, allocations: 11.97 kB / 1.185 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.8029, allocations: 4.076 MB / 1.189 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8029, allocations: 4 kB / 1.189 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006486/0.8094, allocations: 0.9622 MB / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.226e-05/0.8095, allocations: 108.7 kB / 1.19 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.8096, allocations: 7.906 kB / 1.19 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.8103, allocations: 43.95 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/0.8104, allocations: 31.89 kB / 1.19 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.8104, allocations: 7.984 kB / 1.19 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002122/0.8106, allocations: 235 kB / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8107, allocations: 0 / 1.191 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005335/0.8112, allocations: 115.9 kB / 1.191 GB, free: 15.39 MB / 0.9512 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.00675/0.8179, allocations: 1.514 MB / 1.192 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.8205, allocations: 0.7351 MB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8206, allocations: 0 / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.822, allocations: 0.5012 MB / 1.193 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.8226, allocations: 117.2 kB / 1.194 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.8399, allocations: 4.39 MB / 1.198 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.8402, allocations: 0.7684 MB / 1.199 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004433/0.8407, allocations: 78.88 kB / 1.199 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.8409, allocations: 103.4 kB / 1.199 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of SimCode: time 4.81e-07/0.8409, allocations: 0 / 1.199 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7204/1.561, allocations: 16.52 MB / 1.215 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/12.46, allocations: 3.375 kB / 1.215 GB, free: 6.605 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches