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.0007469/0.0007469, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007992/0.0007992, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9052/0.9052, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.716/1.716, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.844e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6083/0.6084, allocations: 143.1 MB / 1.121 GB, free: 16.32 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.6116, allocations: 2.736 MB / 1.123 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.612, allocations: 27.44 kB / 1.123 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.6126, allocations: 204.8 kB / 1.124 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.6141, allocations: 0.8254 MB / 1.124 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.6147, allocations: 363 kB / 1.125 GB, free: 13.69 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.6158, allocations: 0.972 MB / 1.126 GB, free: 13.23 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.6161, allocations: 214.9 kB / 1.126 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.6168, allocations: 0.4925 MB / 1.126 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007519/0.6176, allocations: 268.1 kB / 1.127 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.6176, allocations: 36.78 kB / 1.127 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.6185, allocations: 0.538 MB / 1.127 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.6186, allocations: 144.7 kB / 1.127 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.6188, allocations: 152.1 kB / 1.127 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.6199, allocations: 0.7528 MB / 1.128 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6199, allocations: 0.7969 kB / 1.128 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6199, allocations: 1.062 kB / 1.128 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.6199, allocations: 0 / 1.128 GB, free: 12.21 MB / 0.9948 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.001066/0.621, allocations: 0.6494 MB / 1.129 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.621, allocations: 9.531 kB / 1.129 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.6211, allocations: 57.36 kB / 1.129 GB, free: 11.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/0.6218, allocations: 147.9 kB / 1.129 GB, free: 11.64 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.6223, allocations: 355.4 kB / 1.129 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.6223, allocations: 17.25 kB / 1.129 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.6224, allocations: 31.84 kB / 1.129 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.6228, allocations: 380.6 kB / 1.13 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6228, allocations: 5.25 kB / 1.13 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.6228, allocations: 10.69 kB / 1.13 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.6228, allocations: 9.422 kB / 1.13 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.6231, allocations: 192.5 kB / 1.13 GB, free: 11.04 MB / 0.9948 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.001122/0.6242, allocations: 0.8393 MB / 1.131 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.6245, allocations: 188.2 kB / 1.131 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.6246, allocations: 80.28 kB / 1.131 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.6246, allocations: 2.156 kB / 1.131 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.6246, allocations: 37.77 kB / 1.131 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 2.485e-06/0.6246, allocations: 1.062 kB / 1.131 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0007445/0.6254, allocations: 329.1 kB / 1.131 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.6254, allocations: 55.44 kB / 1.131 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.6257, allocations: 299.1 kB / 1.132 GB, free: 9.934 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.6257, allocations: 30.95 kB / 1.132 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.542e-05/0.6258, allocations: 204.6 kB / 1.132 GB, free: 9.727 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.6258, allocations: 67.88 kB / 1.132 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.6259, allocations: 49.88 kB / 1.132 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.26e-05/0.6259, allocations: 338.4 kB / 1.132 GB, free: 9.312 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.626, allocations: 63.22 kB / 1.132 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.6261, allocations: 116.1 kB / 1.133 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.6263, allocations: 197.8 kB / 1.133 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6263, allocations: 1 kB / 1.133 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002673/0.6266, allocations: 244.5 kB / 1.133 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6266, allocations: 6.5 kB / 1.133 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.6266, allocations: 2.312 kB / 1.133 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6266, allocations: 6.781 kB / 1.133 GB, free: 8.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6268, allocations: 47.36 kB / 1.133 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6268, allocations: 2.984 kB / 1.133 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.6269, allocations: 24.8 kB / 1.133 GB, free: 8.922 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.6269, allocations: 11.58 kB / 1.133 GB, free: 8.918 MB / 0.9948 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.0001025/0.627, allocations: 153.7 kB / 1.133 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.6271, allocations: 31.84 kB / 1.133 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.6271, allocations: 40.33 kB / 1.133 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.6271, allocations: 8.156 kB / 1.133 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.6271, allocations: 0.6562 kB / 1.133 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6271, allocations: 1.219 kB / 1.133 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.6274, allocations: 326.1 kB / 1.134 GB, free: 8.504 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6275, allocations: 4 kB / 1.134 GB, free: 8.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.6275, allocations: 37.05 kB / 1.134 GB, free: 8.492 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.6277, allocations: 40.72 kB / 1.134 GB, free: 8.477 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.6277, allocations: 8.953 kB / 1.134 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006721/0.6284, allocations: 1.408 MB / 1.135 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6284, allocations: 1.734 kB / 1.135 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.6287, allocations: 404.8 kB / 1.135 GB, free: 6.875 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.6288, allocations: 49.73 kB / 1.136 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.6289, allocations: 5.984 kB / 1.136 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.629, allocations: 3.641 kB / 1.136 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.629, allocations: 19 kB / 1.136 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.629, allocations: 6.156 kB / 1.136 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001539/0.6292, allocations: 216.7 kB / 1.136 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6292, allocations: 0 / 1.136 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002991/0.6295, allocations: 113.2 kB / 1.136 GB, free: 6.691 MB / 0.9948 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.0005335/0.63, allocations: 0.9404 MB / 1.137 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.6302, allocations: 163.7 kB / 1.137 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6302, allocations: 0 / 1.137 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.6304, allocations: 194.6 kB / 1.137 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006183/0.631, allocations: 204.4 kB / 1.137 GB, free: 5.656 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.6334, allocations: 2.848 MB / 1.14 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.6336, allocations: 191.9 kB / 1.14 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.6338, allocations: 66.16 kB / 1.14 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6339, allocations: 105.6 kB / 1.14 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of SimCode: time 7.31e-07/0.6339, allocations: 0 / 1.14 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.6634, allocations: 10.37 MB / 1.151 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.427, allocations: 4.797 kB / 1.151 GB, free: 1.844 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/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: 12.468092323280871]