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.001435/0.001435, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001681/0.001681, allocations: 214 kB / 22.25 MB, free: 5.082 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 8.016 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.51/3.51, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.002001/0.002001, allocations: 70.09 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3978, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2119/0.6098, allocations: 166 MB / 1.488 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00534/0.6151, allocations: 2.943 MB / 1.491 GB, free: 8.379 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.6158, allocations: 23.81 kB / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008962/0.6167, allocations: 218.8 kB / 1.491 GB, free: 8.141 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.619, allocations: 0.8168 MB / 1.492 GB, free: 7.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.62, allocations: 361.5 kB / 1.492 GB, free: 6.969 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.6216, allocations: 0.9742 MB / 1.493 GB, free: 5.992 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004418/0.622, allocations: 214.5 kB / 1.493 GB, free: 5.777 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008561/0.6229, allocations: 390.6 kB / 1.494 GB, free: 5.395 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.624, allocations: 305.4 kB / 1.494 GB, free: 5.098 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.6241, allocations: 32 kB / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.6256, allocations: 0.7092 MB / 1.495 GB, free: 4.355 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.6258, allocations: 131.6 kB / 1.495 GB, free: 4.227 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.6262, allocations: 218.9 kB / 1.495 GB, free: 4.012 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6277, allocations: 0.7514 MB / 1.496 GB, free: 3.258 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6277, allocations: 0 / 1.496 GB, free: 3.258 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6277, allocations: 0 / 1.496 GB, free: 3.258 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.6277, allocations: 0 / 1.496 GB, free: 3.258 MB / 1.186 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.001542/0.6292, allocations: 0.6601 MB / 1.496 GB, free: 2.566 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6293, allocations: 8.031 kB / 1.496 GB, free: 2.559 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.6294, allocations: 54.55 kB / 1.497 GB, free: 2.496 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6305, allocations: 143.6 kB / 1.497 GB, free: 2.355 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/0.6313, allocations: 360 kB / 1.497 GB, free: 1.973 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.6313, allocations: 20.5 kB / 1.497 GB, free: 1.953 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.6314, allocations: 24 kB / 1.497 GB, free: 1.93 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.6319, allocations: 278.8 kB / 1.497 GB, free: 1.648 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.6319, allocations: 0 / 1.497 GB, free: 1.648 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.6319, allocations: 8 kB / 1.497 GB, free: 1.641 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.6319, allocations: 12.5 kB / 1.497 GB, free: 1.629 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.6323, allocations: 197.8 kB / 1.498 GB, free: 1.43 MB / 1.186 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.002077/0.6344, allocations: 1.291 MB / 1.499 GB, free: 8 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.6349, allocations: 194.8 kB / 1.499 GB, free: 15.81 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.635, allocations: 84.77 kB / 1.499 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.635, allocations: 0 / 1.499 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.6351, allocations: 38.56 kB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.6351, allocations: 4 kB / 1.499 GB, free: 15.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001028/0.6361, allocations: 315.8 kB / 1.499 GB, free: 15.36 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.6361, allocations: 59.34 kB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.6365, allocations: 300.6 kB / 1.5 GB, free: 14.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.6366, allocations: 29.7 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.6367, allocations: 200.3 kB / 1.5 GB, free: 14.75 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/0.6368, allocations: 67.39 kB / 1.5 GB, free: 14.68 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.509e-05/0.6369, allocations: 45.7 kB / 1.5 GB, free: 14.63 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6371, allocations: 338.8 kB / 1.5 GB, free: 14.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.6372, allocations: 63.97 kB / 1.5 GB, free: 14.23 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.6374, allocations: 119.7 kB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.6377, allocations: 208.8 kB / 1.501 GB, free: 13.87 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6377, allocations: 0 / 1.501 GB, free: 13.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004232/0.6381, allocations: 245.3 kB / 1.501 GB, free: 13.62 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6381, allocations: 9.875 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6381, allocations: 0 / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6382, allocations: 4 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6384, allocations: 43.92 kB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.6384, allocations: 4.188 kB / 1.501 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.6387, allocations: 19.84 kB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.6387, allocations: 12 kB / 1.501 GB, free: 13.53 MB / 1.201 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.000191/0.6389, allocations: 162.3 kB / 1.501 GB, free: 13.36 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.639, allocations: 35.75 kB / 1.501 GB, free: 13.33 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.625e-05/0.639, allocations: 35.02 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.639, allocations: 4 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6391, allocations: 0 / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6391, allocations: 7.922 kB / 1.501 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.6397, allocations: 380.3 kB / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6397, allocations: 0 / 1.502 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.6399, allocations: 39.86 kB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002311/0.6401, allocations: 40.83 kB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.6401, allocations: 4 kB / 1.502 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.6416, allocations: 1.412 MB / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6416, allocations: 0 / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.6422, allocations: 401.6 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.6423, allocations: 55.77 kB / 1.504 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.6424, allocations: 7.938 kB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6426, allocations: 4 kB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.6427, allocations: 19.91 kB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.6427, allocations: 4 kB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002474/0.643, allocations: 215.1 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.643, allocations: 8 kB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004305/0.6434, allocations: 107.9 kB / 1.504 GB, free: 10.43 MB / 1.201 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.001032/0.6444, allocations: 0.9411 MB / 1.505 GB, free: 9.465 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.6447, allocations: 149.5 kB / 1.505 GB, free: 9.32 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6447, allocations: 3.938 kB / 1.505 GB, free: 9.316 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.6451, allocations: 199 kB / 1.505 GB, free: 9.109 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.6461, allocations: 212.9 kB / 1.505 GB, free: 8.906 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.6503, allocations: 2.938 MB / 1.508 GB, free: 5.859 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.6508, allocations: 0.7921 MB / 1.509 GB, free: 5.039 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002813/0.6511, allocations: 59.25 kB / 1.509 GB, free: 4.98 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.6513, allocations: 107.4 kB / 1.509 GB, free: 4.875 MB / 1.201 GB Notification: Performance of SimCode: time 6.41e-07/0.6513, allocations: 0 / 1.509 GB, free: 4.875 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/0.6963, allocations: 9.241 MB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.16, allocations: 8.766 kB / 1.518 GB, free: 11.86 MB / 1.217 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: 20.461025208001956]