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.006259/0.006259, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001261/0.001261, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7348 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 60.12 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8908, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1718/1.063, allocations: 162.4 MB / 1.366 GB, free: 10.54 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004677/1.067, allocations: 2.922 MB / 1.369 GB, free: 7.609 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005883/1.068, allocations: 19.88 kB / 1.369 GB, free: 7.59 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007266/1.069, allocations: 198.8 kB / 1.369 GB, free: 7.395 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/1.071, allocations: 0.7841 MB / 1.37 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/1.072, allocations: 335.2 kB / 1.37 GB, free: 6.281 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001338/1.073, allocations: 0.9389 MB / 1.371 GB, free: 5.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/1.074, allocations: 258.3 kB / 1.371 GB, free: 5.082 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006419/1.074, allocations: 346.5 kB / 1.371 GB, free: 4.742 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008791/1.075, allocations: 287.7 kB / 1.372 GB, free: 4.465 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/1.075, allocations: 32 kB / 1.372 GB, free: 4.434 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/1.076, allocations: 0.6469 MB / 1.372 GB, free: 3.785 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/1.077, allocations: 131.5 kB / 1.373 GB, free: 3.656 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/1.077, allocations: 215 kB / 1.373 GB, free: 3.445 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/1.078, allocations: 0.7402 MB / 1.373 GB, free: 2.703 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.078, allocations: 3.938 kB / 1.373 GB, free: 2.699 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/1.078, allocations: 4 kB / 1.373 GB, free: 2.695 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.642e-05/1.078, allocations: 4 kB / 1.373 GB, free: 2.691 MB / 1.092 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.00119/1.079, allocations: 0.7049 MB / 1.374 GB, free: 1.938 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.079, allocations: 8.031 kB / 1.374 GB, free: 1.93 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.015e-05/1.079, allocations: 62.53 kB / 1.374 GB, free: 1.859 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.08, allocations: 147.3 kB / 1.374 GB, free: 1.715 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000666/1.081, allocations: 418.4 kB / 1.375 GB, free: 1.266 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.081, allocations: 16.56 kB / 1.375 GB, free: 1.25 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/1.081, allocations: 24 kB / 1.375 GB, free: 1.227 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/1.082, allocations: 275.6 kB / 1.375 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.082, allocations: 4 kB / 1.375 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/1.082, allocations: 12 kB / 1.375 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/1.082, allocations: 12.55 kB / 1.375 GB, free: 0.918 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/1.082, allocations: 194.1 kB / 1.375 GB, free: 0.7266 MB / 1.092 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.001673/1.084, allocations: 1.322 MB / 1.377 GB, free: 15.26 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/1.084, allocations: 198.8 kB / 1.377 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/1.084, allocations: 92.77 kB / 1.377 GB, free: 14.97 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.084, allocations: 352 / 1.377 GB, free: 14.97 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.084, allocations: 38.56 kB / 1.377 GB, free: 14.92 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.242e-06/1.084, allocations: 0 / 1.377 GB, free: 14.92 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0009362/1.085, allocations: 402.2 kB / 1.377 GB, free: 14.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.085, allocations: 55.41 kB / 1.377 GB, free: 14.44 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/1.086, allocations: 296.6 kB / 1.378 GB, free: 14.14 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/1.086, allocations: 33.7 kB / 1.378 GB, free: 14.1 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/1.086, allocations: 199.9 kB / 1.378 GB, free: 13.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/1.086, allocations: 63.05 kB / 1.378 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/1.086, allocations: 53.61 kB / 1.378 GB, free: 13.78 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.086, allocations: 338.8 kB / 1.378 GB, free: 13.44 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/1.086, allocations: 63.97 kB / 1.378 GB, free: 13.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/1.086, allocations: 126.2 kB / 1.378 GB, free: 13.24 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/1.087, allocations: 193.9 kB / 1.379 GB, free: 13.03 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.087, allocations: 4 kB / 1.379 GB, free: 13.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000352/1.087, allocations: 259.6 kB / 1.379 GB, free: 12.77 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.087, allocations: 8 kB / 1.379 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.087, allocations: 0 / 1.379 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.087, allocations: 4 kB / 1.379 GB, free: 12.75 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/1.087, allocations: 43.92 kB / 1.379 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.087, allocations: 4 kB / 1.379 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/1.088, allocations: 15.84 kB / 1.379 GB, free: 12.69 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/1.088, allocations: 4 kB / 1.379 GB, free: 12.69 MB / 1.107 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.0001585/1.088, allocations: 165.9 kB / 1.379 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/1.088, allocations: 39.55 kB / 1.379 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/1.088, allocations: 35.08 kB / 1.379 GB, free: 12.44 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.088, allocations: 4 kB / 1.379 GB, free: 12.44 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.088, allocations: 0 / 1.379 GB, free: 12.44 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.088, allocations: 0 / 1.379 GB, free: 12.44 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/1.088, allocations: 401.3 kB / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.088, allocations: 0 / 1.38 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.089, allocations: 35.92 kB / 1.38 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/1.089, allocations: 48.81 kB / 1.38 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.089, allocations: 4 kB / 1.38 GB, free: 11.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/1.09, allocations: 1.512 MB / 1.381 GB, free: 10.25 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.09, allocations: 4.031 kB / 1.381 GB, free: 10.25 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/1.091, allocations: 399.7 kB / 1.382 GB, free: 9.84 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/1.091, allocations: 132.7 kB / 1.382 GB, free: 9.691 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/1.091, allocations: 7.938 kB / 1.382 GB, free: 9.684 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/1.091, allocations: 12 kB / 1.382 GB, free: 9.672 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/1.091, allocations: 11.98 kB / 1.382 GB, free: 9.66 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/1.091, allocations: 8 kB / 1.382 GB, free: 9.652 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002082/1.091, allocations: 219.1 kB / 1.382 GB, free: 9.438 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.091, allocations: 0 / 1.382 GB, free: 9.438 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003985/1.092, allocations: 99.84 kB / 1.382 GB, free: 9.34 MB / 1.107 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.0008524/1.093, allocations: 0.9593 MB / 1.383 GB, free: 8.355 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002887/1.093, allocations: 166.1 kB / 1.383 GB, free: 8.195 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.093, allocations: 0 / 1.383 GB, free: 8.195 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/1.093, allocations: 194.6 kB / 1.383 GB, free: 7.992 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009732/1.094, allocations: 195.9 kB / 1.383 GB, free: 7.809 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/1.097, allocations: 2.917 MB / 1.386 GB, free: 4.773 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.098, allocations: 0.7959 MB / 1.387 GB, free: 3.953 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002477/1.098, allocations: 71.22 kB / 1.387 GB, free: 3.887 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.098, allocations: 103.4 kB / 1.387 GB, free: 3.789 MB / 1.107 GB Notification: Performance of SimCode: time 2.304e-06/1.098, allocations: 0 / 1.387 GB, free: 3.789 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/1.128, allocations: 9.143 MB / 1.396 GB, free: 10.86 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.661/10.79, allocations: 15.86 kB / 1.396 GB, free: 10.84 MB / 1.123 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