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.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.001681/0.001681, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00215/0.00215, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.346/3.346, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002269/0.002269, allocations: 67.31 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4061, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1868/0.5929, allocations: 143.1 MB / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005634/0.5985, allocations: 2.743 MB / 1.506 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.5992, allocations: 23.81 kB / 1.506 GB, free: 11.65 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.6, allocations: 194.8 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002483/0.6025, allocations: 0.809 MB / 1.507 GB, free: 10.65 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.6036, allocations: 353.4 kB / 1.507 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.6052, allocations: 0.9624 MB / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.6056, allocations: 210.5 kB / 1.508 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008617/0.6065, allocations: 394.6 kB / 1.509 GB, free: 8.746 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.6076, allocations: 295.3 kB / 1.509 GB, free: 8.461 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.6077, allocations: 36 kB / 1.509 GB, free: 8.426 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.609, allocations: 0.5259 MB / 1.51 GB, free: 7.898 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.6092, allocations: 139.5 kB / 1.51 GB, free: 7.762 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.6096, allocations: 175.3 kB / 1.51 GB, free: 7.59 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.6111, allocations: 0.7319 MB / 1.511 GB, free: 6.855 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6111, allocations: 8 kB / 1.511 GB, free: 6.848 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6111, allocations: 0 / 1.511 GB, free: 6.848 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.6111, allocations: 0 / 1.511 GB, free: 6.848 MB / 1.201 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.001339/0.6124, allocations: 0.6523 MB / 1.511 GB, free: 6.164 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.6125, allocations: 12.03 kB / 1.511 GB, free: 6.152 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.372e-05/0.6125, allocations: 58.55 kB / 1.511 GB, free: 6.086 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.6136, allocations: 139.6 kB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.6144, allocations: 360 kB / 1.512 GB, free: 5.57 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.6145, allocations: 20.5 kB / 1.512 GB, free: 5.551 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.6145, allocations: 27.95 kB / 1.512 GB, free: 5.523 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.6151, allocations: 377.5 kB / 1.512 GB, free: 5.121 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6151, allocations: 4 kB / 1.512 GB, free: 5.117 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.6151, allocations: 8 kB / 1.512 GB, free: 5.109 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.6152, allocations: 8.5 kB / 1.512 GB, free: 5.098 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.6155, allocations: 201.9 kB / 1.512 GB, free: 4.898 MB / 1.201 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.001719/0.6173, allocations: 0.8427 MB / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.6177, allocations: 186.8 kB / 1.513 GB, free: 3.816 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.6178, allocations: 88.77 kB / 1.513 GB, free: 3.727 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.6178, allocations: 0 / 1.513 GB, free: 3.727 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.6179, allocations: 38.56 kB / 1.513 GB, free: 3.68 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/0.6179, allocations: 3.938 kB / 1.513 GB, free: 3.676 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.0009859/0.6189, allocations: 332.3 kB / 1.514 GB, free: 3.344 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.6189, allocations: 55.41 kB / 1.514 GB, free: 3.277 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.6193, allocations: 300.5 kB / 1.514 GB, free: 2.973 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.6193, allocations: 33.7 kB / 1.514 GB, free: 2.934 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.6195, allocations: 192.3 kB / 1.514 GB, free: 2.738 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.6195, allocations: 75.42 kB / 1.514 GB, free: 2.664 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.6196, allocations: 45.66 kB / 1.514 GB, free: 2.613 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6198, allocations: 334.8 kB / 1.515 GB, free: 2.277 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.6199, allocations: 63.97 kB / 1.515 GB, free: 2.215 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.6201, allocations: 122.5 kB / 1.515 GB, free: 2.074 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.6204, allocations: 195.9 kB / 1.515 GB, free: 1.863 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6204, allocations: 0 / 1.515 GB, free: 1.863 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000449/0.6208, allocations: 253.3 kB / 1.515 GB, free: 1.609 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6208, allocations: 12 kB / 1.515 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6208, allocations: 0 / 1.515 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.6209, allocations: 7.984 kB / 1.515 GB, free: 1.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.6211, allocations: 43.98 kB / 1.515 GB, free: 1.547 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-05/0.6211, allocations: 7.938 kB / 1.515 GB, free: 1.539 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.6214, allocations: 11.89 kB / 1.515 GB, free: 1.527 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.6214, allocations: 8 kB / 1.515 GB, free: 1.52 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.0001809/0.6216, allocations: 161.8 kB / 1.516 GB, free: 1.352 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.6216, allocations: 35.69 kB / 1.516 GB, free: 1.316 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/0.6217, allocations: 46.95 kB / 1.516 GB, free: 1.266 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.6217, allocations: 4 kB / 1.516 GB, free: 1.262 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.6217, allocations: 0 / 1.516 GB, free: 1.262 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6217, allocations: 0 / 1.516 GB, free: 1.262 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.6223, allocations: 324.5 kB / 1.516 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6223, allocations: 0 / 1.516 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.6225, allocations: 31.92 kB / 1.516 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/0.6227, allocations: 48.81 kB / 1.516 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.6227, allocations: 0 / 1.516 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.6241, allocations: 1.408 MB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6241, allocations: 4 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.6248, allocations: 403.3 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.6249, allocations: 51.73 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.625, allocations: 11.94 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.6253, allocations: 7.984 kB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.6253, allocations: 7.984 kB / 1.518 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.6253, allocations: 20.05 kB / 1.518 GB, free: 14.79 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002499/0.6256, allocations: 211.1 kB / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6256, allocations: 0 / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004471/0.626, allocations: 107.8 kB / 1.518 GB, free: 14.48 MB / 1.217 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.001016/0.627, allocations: 0.9409 MB / 1.519 GB, free: 13.51 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003403/0.6274, allocations: 162 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.6274, allocations: 4 kB / 1.519 GB, free: 13.35 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.6277, allocations: 194.6 kB / 1.519 GB, free: 13.15 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6288, allocations: 202.3 kB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.6329, allocations: 2.924 MB / 1.523 GB, free: 9.926 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.6332, allocations: 198 kB / 1.523 GB, free: 9.711 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000284/0.6334, allocations: 55.25 kB / 1.523 GB, free: 9.656 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.6336, allocations: 103.4 kB / 1.523 GB, free: 9.555 MB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/0.6336, allocations: 4 kB / 1.523 GB, free: 9.551 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/0.6779, allocations: 10.26 MB / 1.533 GB, free: 15.57 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.7, allocations: 13.59 kB / 1.533 GB, free: 15.56 MB / 1.232 GB " [Timeout remaining time 287] (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 --stepSize=4.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.776419409085065]