Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1",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.006507/0.006507, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001469/0.001469, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.894/2.894, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 59.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7575, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1811/0.9386, allocations: 162.4 MB / 1.325 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.9436, allocations: 2.923 MB / 1.328 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.9443, allocations: 15.94 kB / 1.328 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.9451, allocations: 206.8 kB / 1.328 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.9476, allocations: 0.8051 MB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.9486, allocations: 349.5 kB / 1.329 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.9502, allocations: 0.9428 MB / 1.33 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.9507, allocations: 250.3 kB / 1.33 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00074/0.9515, allocations: 362.5 kB / 1.33 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.9526, allocations: 289.2 kB / 1.331 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.9527, allocations: 35.94 kB / 1.331 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.9543, allocations: 0.643 MB / 1.331 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.9545, allocations: 119.7 kB / 1.331 GB, free: 9.832 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.9549, allocations: 215 kB / 1.332 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.9564, allocations: 0.7518 MB / 1.332 GB, free: 8.867 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9565, allocations: 0 / 1.332 GB, free: 8.867 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9565, allocations: 4 kB / 1.332 GB, free: 8.863 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.9565, allocations: 0 / 1.332 GB, free: 8.863 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001396/0.9579, allocations: 0.7127 MB / 1.333 GB, free: 8.102 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.958, allocations: 12.92 kB / 1.333 GB, free: 8.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.9581, allocations: 58.55 kB / 1.333 GB, free: 8.023 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.9593, allocations: 139.3 kB / 1.333 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.9601, allocations: 422.3 kB / 1.334 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.9601, allocations: 16.56 kB / 1.334 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.9602, allocations: 24 kB / 1.334 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.9607, allocations: 279.7 kB / 1.334 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9607, allocations: 0 / 1.334 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.9607, allocations: 12 kB / 1.334 GB, free: 7.102 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.9608, allocations: 8.562 kB / 1.334 GB, free: 7.094 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003653/0.9611, allocations: 202.1 kB / 1.334 GB, free: 6.895 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.963, allocations: 1.322 MB / 1.336 GB, free: 5.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.9635, allocations: 190.9 kB / 1.336 GB, free: 5.234 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.9636, allocations: 88.83 kB / 1.336 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.9637, allocations: 0 / 1.336 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.9637, allocations: 38.5 kB / 1.336 GB, free: 5.098 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.9637, allocations: 0 / 1.336 GB, free: 5.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001005/0.9647, allocations: 409.5 kB / 1.336 GB, free: 4.672 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.9648, allocations: 59.34 kB / 1.336 GB, free: 4.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.9651, allocations: 296.6 kB / 1.337 GB, free: 4.305 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.9651, allocations: 33.7 kB / 1.337 GB, free: 4.266 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.9653, allocations: 192 kB / 1.337 GB, free: 4.074 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.9654, allocations: 75.03 kB / 1.337 GB, free: 4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.9655, allocations: 45.61 kB / 1.337 GB, free: 3.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9656, allocations: 338.8 kB / 1.337 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.9657, allocations: 63.97 kB / 1.337 GB, free: 3.547 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.9659, allocations: 118 kB / 1.337 GB, free: 3.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.9662, allocations: 200 kB / 1.338 GB, free: 3.195 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9662, allocations: 0 / 1.338 GB, free: 3.195 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004255/0.9666, allocations: 249.1 kB / 1.338 GB, free: 2.945 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9666, allocations: 8 kB / 1.338 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9666, allocations: 0 / 1.338 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9667, allocations: 4 kB / 1.338 GB, free: 2.934 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.9669, allocations: 47.92 kB / 1.338 GB, free: 2.887 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9669, allocations: 7.984 kB / 1.338 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.9672, allocations: 15.84 kB / 1.338 GB, free: 2.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.9672, allocations: 8 kB / 1.338 GB, free: 2.855 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.9674, allocations: 166 kB / 1.338 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.9675, allocations: 31.56 kB / 1.338 GB, free: 2.652 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.9676, allocations: 43.08 kB / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.9676, allocations: 0 / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.9676, allocations: 0 / 1.338 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9676, allocations: 3.984 kB / 1.338 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.9682, allocations: 397.3 kB / 1.339 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9682, allocations: 4 kB / 1.339 GB, free: 2.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.9684, allocations: 39.86 kB / 1.339 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.9686, allocations: 44.83 kB / 1.339 GB, free: 2.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.9686, allocations: 4 kB / 1.339 GB, free: 2.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.9699, allocations: 1.515 MB / 1.34 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9699, allocations: 0 / 1.34 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.9706, allocations: 398.8 kB / 1.34 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.9708, allocations: 132.7 kB / 1.341 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.9708, allocations: 15.94 kB / 1.341 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.9711, allocations: 8 kB / 1.341 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.9711, allocations: 15.92 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.9711, allocations: 12 kB / 1.341 GB, free: 15.81 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002334/0.9714, allocations: 211.1 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9714, allocations: 3.938 kB / 1.341 GB, free: 15.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004359/0.9718, allocations: 103.8 kB / 1.341 GB, free: 15.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00094/0.9728, allocations: 0.9538 MB / 1.342 GB, free: 14.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.9731, allocations: 159.8 kB / 1.342 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9731, allocations: 0 / 1.342 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.9735, allocations: 202.6 kB / 1.342 GB, free: 14.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/0.9744, allocations: 191.7 kB / 1.342 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.9781, allocations: 2.915 MB / 1.345 GB, free: 10.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.9785, allocations: 0.796 MB / 1.346 GB, free: 10.13 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.9788, allocations: 67.22 kB / 1.346 GB, free: 10.06 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.979, allocations: 107.4 kB / 1.346 GB, free: 9.957 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/0.979, allocations: 4 kB / 1.346 GB, free: 9.953 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/1.011, allocations: 8.975 MB / 1.355 GB, free: 1.199 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/11.31, allocations: 10.14 kB / 1.355 GB, free: 1.191 MB / 1.076 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches