Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 213.8 kB / 22.25 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.84 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 72.59 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 176.1 MB / 1.326 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1805/0.5206, allocations: 143.1 MB / 1.466 GB, free: 1.922 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.5266, allocations: 2.739 MB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009175/0.5275, allocations: 23.81 kB / 1.468 GB, free: 15.15 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.5284, allocations: 194.8 kB / 1.468 GB, free: 14.96 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.5308, allocations: 0.8215 MB / 1.469 GB, free: 14.14 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.5318, allocations: 354.3 kB / 1.47 GB, free: 13.79 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.5336, allocations: 0.9781 MB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.534, allocations: 214.5 kB / 1.471 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008263/0.5348, allocations: 382.6 kB / 1.471 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.5358, allocations: 318.9 kB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.498e-05/0.5359, allocations: 36 kB / 1.471 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.5373, allocations: 0.5259 MB / 1.472 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.5375, allocations: 139.6 kB / 1.472 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.5377, allocations: 187.2 kB / 1.472 GB, free: 11.03 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.5389, allocations: 0.7358 MB / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5389, allocations: 0 / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.495e-06/0.5389, allocations: 0 / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.5389, allocations: 0 / 1.473 GB, free: 10.29 MB / 1.17 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.001279/0.5402, allocations: 0.6407 MB / 1.474 GB, free: 9.621 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5402, allocations: 16.03 kB / 1.474 GB, free: 9.605 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.5403, allocations: 62.53 kB / 1.474 GB, free: 9.535 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5414, allocations: 143.6 kB / 1.474 GB, free: 9.395 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/0.5422, allocations: 363.9 kB / 1.474 GB, free: 9.008 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.5422, allocations: 20.5 kB / 1.474 GB, free: 8.988 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.5422, allocations: 24 kB / 1.474 GB, free: 8.965 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/0.5428, allocations: 381.6 kB / 1.475 GB, free: 8.559 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.5428, allocations: 0 / 1.475 GB, free: 8.559 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.5428, allocations: 8 kB / 1.475 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.5429, allocations: 16.5 kB / 1.475 GB, free: 8.535 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.5432, allocations: 197.8 kB / 1.475 GB, free: 8.34 MB / 1.17 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.00167/0.5449, allocations: 0.8427 MB / 1.476 GB, free: 7.453 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.5453, allocations: 182.9 kB / 1.476 GB, free: 7.266 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.5455, allocations: 89.8 kB / 1.476 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.5455, allocations: 0 / 1.476 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5455, allocations: 42.5 kB / 1.476 GB, free: 7.125 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 1.724e-06/0.5456, allocations: 0 / 1.476 GB, free: 7.125 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001008/0.5466, allocations: 324.3 kB / 1.476 GB, free: 6.801 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.5466, allocations: 55.41 kB / 1.476 GB, free: 6.734 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.547, allocations: 300.6 kB / 1.477 GB, free: 6.434 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.547, allocations: 29.7 kB / 1.477 GB, free: 6.398 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.5472, allocations: 196.3 kB / 1.477 GB, free: 6.199 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/0.5473, allocations: 71.39 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.5474, allocations: 41.7 kB / 1.477 GB, free: 6.082 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5476, allocations: 346.8 kB / 1.477 GB, free: 5.734 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5477, allocations: 59.97 kB / 1.477 GB, free: 5.676 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.5479, allocations: 117.9 kB / 1.477 GB, free: 5.539 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.5482, allocations: 195.4 kB / 1.478 GB, free: 5.328 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5482, allocations: 4 kB / 1.478 GB, free: 5.324 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004168/0.5486, allocations: 249.3 kB / 1.478 GB, free: 5.074 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5486, allocations: 4 kB / 1.478 GB, free: 5.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.5486, allocations: 3.938 kB / 1.478 GB, free: 5.066 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.5487, allocations: 4 kB / 1.478 GB, free: 5.062 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.5489, allocations: 47.92 kB / 1.478 GB, free: 5.016 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.5489, allocations: 4 kB / 1.478 GB, free: 5.012 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.5492, allocations: 19.84 kB / 1.478 GB, free: 4.992 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5492, allocations: 4 kB / 1.478 GB, free: 4.988 MB / 1.17 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.0002146/0.5494, allocations: 170.4 kB / 1.478 GB, free: 4.812 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/0.5495, allocations: 35.75 kB / 1.478 GB, free: 4.777 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.5495, allocations: 39.02 kB / 1.478 GB, free: 4.734 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5496, allocations: 3.984 kB / 1.478 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5496, allocations: 0 / 1.478 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5496, allocations: 4 kB / 1.478 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5501, allocations: 324.5 kB / 1.478 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5501, allocations: 0 / 1.478 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.5503, allocations: 35.86 kB / 1.479 GB, free: 4.332 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.5505, allocations: 48.83 kB / 1.479 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5505, allocations: 4 kB / 1.479 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.5519, allocations: 1.404 MB / 1.48 GB, free: 2.762 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5519, allocations: 0 / 1.48 GB, free: 2.762 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.5525, allocations: 397.9 kB / 1.48 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.5526, allocations: 51.77 kB / 1.48 GB, free: 2.305 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.5527, allocations: 12 kB / 1.48 GB, free: 2.293 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.5529, allocations: 8 kB / 1.48 GB, free: 2.285 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.553, allocations: 15.91 kB / 1.48 GB, free: 2.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.553, allocations: 12 kB / 1.48 GB, free: 2.258 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002517/0.5532, allocations: 215.1 kB / 1.481 GB, free: 2.051 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5532, allocations: 3.938 kB / 1.481 GB, free: 2.047 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004421/0.5537, allocations: 103.8 kB / 1.481 GB, free: 1.945 MB / 1.17 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.001123/0.5548, allocations: 0.9462 MB / 1.482 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.5551, allocations: 161.7 kB / 1.482 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5551, allocations: 3.938 kB / 1.482 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.5555, allocations: 195 kB / 1.482 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.5564, allocations: 196.2 kB / 1.482 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.5605, allocations: 2.926 MB / 1.485 GB, free: 13.38 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.5607, allocations: 198 kB / 1.485 GB, free: 13.16 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002619/0.561, allocations: 59.25 kB / 1.485 GB, free: 13.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.5612, allocations: 103.4 kB / 1.485 GB, free: 13 MB / 1.186 GB Notification: Performance of SimCode: time 1.042e-06/0.5612, allocations: 0 / 1.485 GB, free: 13 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.6046, allocations: 10.35 MB / 1.496 GB, free: 2.945 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.53, allocations: 10.64 kB / 1.496 GB, free: 2.938 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.232778525998583]