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.001294/0.001294, 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.001327/0.001327, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.502/2.502, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 0.8693 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5199, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003142/0.5231, allocations: 2.306 MB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1434/0.6665, allocations: 152 MB / 1.168 GB, free: 7.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.6668, allocations: 7.938 kB / 1.168 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.667, allocations: 47.45 kB / 1.168 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.6674, allocations: 99.19 kB / 1.168 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.6681, allocations: 303 kB / 1.169 GB, free: 7.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.6686, allocations: 423.8 kB / 1.169 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.6688, allocations: 109.8 kB / 1.169 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.67, allocations: 281.8 kB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.6702, allocations: 183.2 kB / 1.169 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.6703, allocations: 32 kB / 1.17 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.6708, allocations: 279.6 kB / 1.17 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.6709, allocations: 87.66 kB / 1.17 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.6711, allocations: 159.2 kB / 1.17 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.6717, allocations: 482.6 kB / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6717, allocations: 0 / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6717, allocations: 0 / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.6717, allocations: 0 / 1.17 GB, free: 5.09 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.001415/0.6732, allocations: 0.7095 MB / 1.171 GB, free: 4.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.6732, allocations: 12.03 kB / 1.171 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.913e-05/0.6733, allocations: 62.72 kB / 1.171 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.6761, allocations: 263.3 kB / 1.171 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.6764, allocations: 287.3 kB / 1.172 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.6765, allocations: 24.5 kB / 1.172 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.6765, allocations: 28 kB / 1.172 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6779, allocations: 428.5 kB / 1.172 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.678, allocations: 0 / 1.172 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/0.678, allocations: 15.94 kB / 1.172 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.678, allocations: 4 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.6803, allocations: 0.5252 MB / 1.173 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.6833, allocations: 1.143 MB / 1.174 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.6855, allocations: 455.9 kB / 1.174 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.6866, allocations: 236.7 kB / 1.175 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.6867, allocations: 0 / 1.175 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.6867, allocations: 46.48 kB / 1.175 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.162e-06/0.6867, allocations: 7.938 kB / 1.175 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01599/0.7027, allocations: 1.72 MB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.7027, allocations: 51.41 kB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.703, allocations: 312.4 kB / 1.177 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.7031, allocations: 29.7 kB / 1.177 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.7032, allocations: 172.2 kB / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.381e-05/0.7033, allocations: 86.73 kB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7035, allocations: 81.77 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7036, allocations: 346.7 kB / 1.177 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.7046, allocations: 200.4 kB / 1.177 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.7057, allocations: 262.9 kB / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.7078, allocations: 434.2 kB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7078, allocations: 0 / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006946/0.7148, allocations: 0.8927 MB / 1.179 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7148, allocations: 7.984 kB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7148, allocations: 0 / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.7167, allocations: 277.4 kB / 1.179 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.7172, allocations: 71.81 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.7318, allocations: 4.091 MB / 1.183 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/0.7327, allocations: 79.58 kB / 1.183 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/0.7327, allocations: 19.97 kB / 1.183 GB, free: 7.191 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.0002553/0.733, allocations: 141.8 kB / 1.184 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.7331, allocations: 31.61 kB / 1.184 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007234/0.7404, allocations: 0.9439 MB / 1.185 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.7404, allocations: 7.984 kB / 1.185 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.7404, allocations: 4 kB / 1.185 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7404, allocations: 0 / 1.185 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.7409, allocations: 424.9 kB / 1.185 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.741, allocations: 4 kB / 1.185 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.7414, allocations: 55.95 kB / 1.185 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.7432, allocations: 277.3 kB / 1.185 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.7433, allocations: 15.97 kB / 1.185 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.7576, allocations: 4.076 MB / 1.189 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7576, allocations: 3.938 kB / 1.189 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/0.7646, allocations: 0.9547 MB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.7647, allocations: 108.7 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.7648, allocations: 15.91 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.7655, allocations: 39.95 kB / 1.19 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.683e-05/0.7656, allocations: 27.91 kB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.7657, allocations: 19.91 kB / 1.19 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002162/0.7659, allocations: 227.1 kB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7659, allocations: 3.938 kB / 1.191 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005636/0.7665, allocations: 115.9 kB / 1.191 GB, free: 15.32 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.007318/0.7738, allocations: 1.523 MB / 1.192 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002754/0.7766, allocations: 0.7312 MB / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7766, allocations: 0 / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.7781, allocations: 0.4973 MB / 1.193 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006457/0.7788, allocations: 114.8 kB / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.7976, allocations: 4.394 MB / 1.198 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.7979, allocations: 0.7645 MB / 1.199 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005273/0.7985, allocations: 82.86 kB / 1.199 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.7987, allocations: 99.39 kB / 1.199 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/0.7987, allocations: 4 kB / 1.199 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.8383, allocations: 16.52 MB / 1.215 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.4, allocations: 10.42 kB / 1.215 GB, free: 6.539 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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