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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 108.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002668/0.002668, allocations: 67.89 kB / 1.056 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7432, allocations: 160.7 MB / 1.213 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1822/0.9253, allocations: 162.9 MB / 1.372 GB, free: 4.754 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.9301, allocations: 2.929 MB / 1.375 GB, free: 1.816 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005132/0.9307, allocations: 15.94 kB / 1.375 GB, free: 1.801 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.9314, allocations: 214.8 kB / 1.375 GB, free: 1.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.9335, allocations: 0.8089 MB / 1.376 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.9345, allocations: 345.4 kB / 1.376 GB, free: 452 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.936, allocations: 0.9443 MB / 1.377 GB, free: 15.49 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.9364, allocations: 219.1 kB / 1.377 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.9371, allocations: 350.6 kB / 1.378 GB, free: 14.93 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.9381, allocations: 305.6 kB / 1.378 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.9382, allocations: 32 kB / 1.378 GB, free: 14.61 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.9396, allocations: 0.6897 MB / 1.379 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.9397, allocations: 131.6 kB / 1.379 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.9401, allocations: 211 kB / 1.379 GB, free: 13.58 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.9416, allocations: 0.7592 MB / 1.38 GB, free: 12.82 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9416, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9416, allocations: 4 kB / 1.38 GB, free: 12.81 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.9416, allocations: 0 / 1.38 GB, free: 12.81 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.001393/0.943, allocations: 0.7199 MB / 1.38 GB, free: 12.04 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.943, allocations: 12.56 kB / 1.38 GB, free: 12.03 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.676e-05/0.9431, allocations: 62.55 kB / 1.38 GB, free: 11.96 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.9442, allocations: 139.6 kB / 1.381 GB, free: 11.82 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.9449, allocations: 422.6 kB / 1.381 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.9449, allocations: 20.5 kB / 1.381 GB, free: 11.35 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.945, allocations: 28 kB / 1.381 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.9455, allocations: 279.6 kB / 1.381 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.9455, allocations: 0 / 1.381 GB, free: 11.04 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.9455, allocations: 16 kB / 1.381 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.9455, allocations: 8.562 kB / 1.381 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.9459, allocations: 202.1 kB / 1.382 GB, free: 10.82 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.001907/0.9478, allocations: 1.319 MB / 1.383 GB, free: 9.355 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.9482, allocations: 182.8 kB / 1.383 GB, free: 9.168 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.9483, allocations: 88.83 kB / 1.383 GB, free: 9.078 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.9484, allocations: 3.984 kB / 1.383 GB, free: 9.074 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.9484, allocations: 38.5 kB / 1.383 GB, free: 9.027 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.9484, allocations: 0 / 1.383 GB, free: 9.027 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001013/0.9494, allocations: 401.6 kB / 1.384 GB, free: 8.609 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.9495, allocations: 55.41 kB / 1.384 GB, free: 8.543 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.9498, allocations: 296.6 kB / 1.384 GB, free: 8.246 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.9498, allocations: 37.64 kB / 1.384 GB, free: 8.203 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.95, allocations: 196.2 kB / 1.384 GB, free: 8.008 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.9501, allocations: 71.39 kB / 1.384 GB, free: 7.938 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.9501, allocations: 41.7 kB / 1.384 GB, free: 7.891 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9503, allocations: 346.8 kB / 1.385 GB, free: 7.543 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.9504, allocations: 63.97 kB / 1.385 GB, free: 7.48 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.9505, allocations: 115.9 kB / 1.385 GB, free: 7.348 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.9508, allocations: 200.3 kB / 1.385 GB, free: 7.133 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9508, allocations: 0 / 1.385 GB, free: 7.133 MB / 1.092 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003911/0.9512, allocations: 257.3 kB / 1.385 GB, free: 6.875 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9512, allocations: 8 kB / 1.385 GB, free: 6.867 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9512, allocations: 0 / 1.385 GB, free: 6.867 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9513, allocations: 4 kB / 1.385 GB, free: 6.863 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.9515, allocations: 47.92 kB / 1.385 GB, free: 6.816 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9515, allocations: 0 / 1.385 GB, free: 6.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.9517, allocations: 15.89 kB / 1.385 GB, free: 6.801 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.9518, allocations: 8 kB / 1.385 GB, free: 6.793 MB / 1.092 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.000166/0.9519, allocations: 161.7 kB / 1.385 GB, free: 6.625 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.952, allocations: 39.78 kB / 1.385 GB, free: 6.586 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.9521, allocations: 39.08 kB / 1.385 GB, free: 6.539 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.9521, allocations: 4 kB / 1.385 GB, free: 6.535 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9521, allocations: 0 / 1.385 GB, free: 6.535 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9521, allocations: 3.984 kB / 1.385 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.9526, allocations: 397.3 kB / 1.386 GB, free: 6.094 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.9526, allocations: 0 / 1.386 GB, free: 6.094 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.9528, allocations: 43.86 kB / 1.386 GB, free: 6.051 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.953, allocations: 44.77 kB / 1.386 GB, free: 6.004 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.9531, allocations: 8 kB / 1.386 GB, free: 5.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.9544, allocations: 1.516 MB / 1.387 GB, free: 4.344 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9544, allocations: 0 / 1.387 GB, free: 4.344 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.955, allocations: 398.4 kB / 1.388 GB, free: 3.938 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.9551, allocations: 124.9 kB / 1.388 GB, free: 3.797 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.9552, allocations: 11.94 kB / 1.388 GB, free: 3.785 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.9554, allocations: 16.05 kB / 1.388 GB, free: 3.77 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.9555, allocations: 7.984 kB / 1.388 GB, free: 3.762 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.9555, allocations: 8 kB / 1.388 GB, free: 3.754 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002316/0.9557, allocations: 219 kB / 1.388 GB, free: 3.543 MB / 1.092 GB Notification: Performance of sort global known variables: time 6e-08/0.9557, allocations: 0 / 1.388 GB, free: 3.543 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004071/0.9561, allocations: 111.8 kB / 1.388 GB, free: 3.434 MB / 1.092 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.0009998/0.9571, allocations: 0.9473 MB / 1.389 GB, free: 2.457 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.9574, allocations: 158.4 kB / 1.389 GB, free: 2.305 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9574, allocations: 0 / 1.389 GB, free: 2.305 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.9577, allocations: 198.6 kB / 1.39 GB, free: 2.098 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.9587, allocations: 198.4 kB / 1.39 GB, free: 1.906 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.9623, allocations: 2.933 MB / 1.393 GB, free: 14.87 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.9627, allocations: 0.796 MB / 1.393 GB, free: 14.04 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.963, allocations: 59.25 kB / 1.393 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.9631, allocations: 103.4 kB / 1.394 GB, free: 13.88 MB / 1.107 GB Notification: Performance of SimCode: time 6.42e-07/0.9631, allocations: 4 kB / 1.394 GB, free: 13.88 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/0.9997, allocations: 9.057 MB / 1.402 GB, free: 5.039 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.25, allocations: 3.75 kB / 1.402 GB, free: 5.039 MB / 1.107 GB " [Timeout remaining time 289] (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 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.80932017788291]