Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.007407/0.007407, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001605/0.001605, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.826/2.826, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.88 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3483, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.9925/1.341, allocations: 162.4 MB / 1.366 GB, free: 4.695 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005241/1.346, allocations: 2.921 MB / 1.369 GB, free: 2.633 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006694/1.347, allocations: 14.78 kB / 1.369 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007661/1.348, allocations: 207.8 kB / 1.369 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/1.35, allocations: 0.7681 MB / 1.37 GB, free: 2.086 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/1.351, allocations: 353 kB / 1.37 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0015/1.352, allocations: 0.9361 MB / 1.371 GB, free: 1.457 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/1.353, allocations: 254.2 kB / 1.371 GB, free: 1.336 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006691/1.354, allocations: 347.5 kB / 1.371 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009048/1.354, allocations: 292.8 kB / 1.372 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/1.355, allocations: 33.16 kB / 1.372 GB, free: 1.055 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/1.356, allocations: 0.6389 MB / 1.372 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/1.356, allocations: 141 kB / 1.373 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002364/1.356, allocations: 211.6 kB / 1.373 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/1.357, allocations: 0.7453 MB / 1.373 GB, free: 360 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.357, allocations: 0 / 1.373 GB, free: 360 kB / 1.061 GB Notification: Performance of FrontEnd: time 3.627e-06/1.357, allocations: 1.688 kB / 1.373 GB, free: 360 kB / 1.061 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.358, allocations: 0 / 1.373 GB, free: 360 kB / 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.00125/1.359, allocations: 0.7151 MB / 1.374 GB, free: 15.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.359, allocations: 9.438 kB / 1.374 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/1.359, allocations: 63.94 kB / 1.374 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/1.36, allocations: 136.5 kB / 1.374 GB, free: 15.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/1.361, allocations: 423.4 kB / 1.375 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.361, allocations: 18.84 kB / 1.375 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/1.361, allocations: 23.38 kB / 1.375 GB, free: 15.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/1.361, allocations: 282.1 kB / 1.375 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/1.361, allocations: 1.469 kB / 1.375 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/1.361, allocations: 10.5 kB / 1.375 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/1.361, allocations: 9.469 kB / 1.375 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/1.362, allocations: 193.7 kB / 1.375 GB, free: 15.07 MB / 1.076 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.001829/1.364, allocations: 1.33 MB / 1.377 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/1.364, allocations: 190.5 kB / 1.377 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/1.364, allocations: 89.52 kB / 1.377 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/1.364, allocations: 2.656 kB / 1.377 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.364, allocations: 37.22 kB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/1.364, allocations: 3.938 kB / 1.377 GB, free: 13.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0009937/1.365, allocations: 410.5 kB / 1.377 GB, free: 13.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.365, allocations: 53.84 kB / 1.377 GB, free: 13.29 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/1.366, allocations: 297.9 kB / 1.378 GB, free: 13.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/1.366, allocations: 36.17 kB / 1.378 GB, free: 13.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/1.366, allocations: 193.6 kB / 1.378 GB, free: 12.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/1.366, allocations: 67.69 kB / 1.378 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.164e-05/1.366, allocations: 49.3 kB / 1.378 GB, free: 12.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.366, allocations: 337.8 kB / 1.378 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/1.366, allocations: 62.84 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1.366, allocations: 121.6 kB / 1.378 GB, free: 12.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/1.367, allocations: 190.2 kB / 1.379 GB, free: 12.19 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.367, allocations: 4 kB / 1.379 GB, free: 12.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003977/1.367, allocations: 247.3 kB / 1.379 GB, free: 12.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.367, allocations: 14.09 kB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.367, allocations: 1.125 kB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.367, allocations: 7.609 kB / 1.379 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/1.367, allocations: 38.67 kB / 1.379 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.367, allocations: 6.375 kB / 1.379 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/1.368, allocations: 21.5 kB / 1.379 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/1.368, allocations: 6.281 kB / 1.379 GB, free: 12.01 MB / 1.076 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.0001676/1.368, allocations: 159.3 kB / 1.379 GB, free: 11.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/1.368, allocations: 35.41 kB / 1.379 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.228e-05/1.368, allocations: 35.58 kB / 1.379 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.368, allocations: 2.219 kB / 1.379 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.368, allocations: 4.938 kB / 1.379 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.368, allocations: 0 / 1.379 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/1.369, allocations: 412.9 kB / 1.38 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.369, allocations: 4 kB / 1.38 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.369, allocations: 30.11 kB / 1.38 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000224/1.369, allocations: 43.08 kB / 1.38 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/1.369, allocations: 6.094 kB / 1.38 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/1.37, allocations: 1.514 MB / 1.381 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/1.371, allocations: 0 / 1.381 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/1.371, allocations: 405.2 kB / 1.382 GB, free: 9.602 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/1.371, allocations: 134.2 kB / 1.382 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/1.371, allocations: 6.531 kB / 1.382 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/1.372, allocations: 6.688 kB / 1.382 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/1.372, allocations: 13.39 kB / 1.382 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/1.372, allocations: 8.578 kB / 1.382 GB, free: 9.445 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002491/1.372, allocations: 216 kB / 1.382 GB, free: 9.301 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.372, allocations: 0 / 1.382 GB, free: 9.301 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004429/1.372, allocations: 104.7 kB / 1.382 GB, free: 9.285 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.0009739/1.373, allocations: 0.9425 MB / 1.383 GB, free: 8.473 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000316/1.374, allocations: 165.7 kB / 1.383 GB, free: 8.398 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.374, allocations: 0 / 1.383 GB, free: 8.398 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/1.374, allocations: 200.5 kB / 1.383 GB, free: 8.242 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009861/1.375, allocations: 203.4 kB / 1.383 GB, free: 8.145 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/1.379, allocations: 2.919 MB / 1.386 GB, free: 5.941 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/1.379, allocations: 0.7965 MB / 1.387 GB, free: 5.191 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000277/1.379, allocations: 69.22 kB / 1.387 GB, free: 5.156 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/1.38, allocations: 102.4 kB / 1.387 GB, free: 5.078 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/1.38, allocations: 0 / 1.387 GB, free: 5.078 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/1.412, allocations: 9.137 MB / 1.396 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.761/11.17, allocations: 17.64 kB / 1.396 GB, free: 0.5508 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches