Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007522/0.007522, allocations: 99.53 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 198.2 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9476, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2127/1.16, allocations: 162.4 MB / 1.246 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005309/1.166, allocations: 2.919 MB / 1.249 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008154/1.167, allocations: 18.81 kB / 1.249 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008755/1.167, allocations: 205.3 kB / 1.249 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/1.17, allocations: 0.7804 MB / 1.25 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/1.171, allocations: 339.2 kB / 1.25 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001567/1.173, allocations: 0.9389 MB / 1.251 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004859/1.173, allocations: 262.2 kB / 1.251 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000731/1.174, allocations: 346.5 kB / 1.252 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/1.175, allocations: 280.7 kB / 1.252 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/1.175, allocations: 32 kB / 1.252 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/1.176, allocations: 0.6469 MB / 1.253 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/1.177, allocations: 139.6 kB / 1.253 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003166/1.177, allocations: 207 kB / 1.253 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/1.178, allocations: 0.7596 MB / 1.254 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.178, allocations: 0 / 1.254 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/1.178, allocations: 0 / 1.254 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.518e-05/1.178, allocations: 0 / 1.254 GB, free: 3.508 MB / 0.9825 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.001465/1.18, allocations: 0.701 MB / 1.254 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.18, allocations: 8.031 kB / 1.254 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.873e-05/1.18, allocations: 66.52 kB / 1.254 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.181, allocations: 131.4 kB / 1.255 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/1.182, allocations: 430.2 kB / 1.255 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/1.182, allocations: 12.56 kB / 1.255 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/1.182, allocations: 28 kB / 1.255 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/1.183, allocations: 279.7 kB / 1.255 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.183, allocations: 0 / 1.255 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/1.183, allocations: 15.98 kB / 1.255 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/1.183, allocations: 16.48 kB / 1.255 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/1.183, allocations: 198.1 kB / 1.255 GB, free: 1.531 MB / 0.9825 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.001954/1.185, allocations: 1.311 MB / 1.257 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/1.185, allocations: 194.8 kB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/1.186, allocations: 88.83 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/1.186, allocations: 0 / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.186, allocations: 46.5 kB / 1.257 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 9.32e-07/1.186, allocations: 0 / 1.257 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009954/1.187, allocations: 393 kB / 1.257 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.187, allocations: 55.41 kB / 1.258 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/1.187, allocations: 312.4 kB / 1.258 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/1.187, allocations: 33.7 kB / 1.258 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.187, allocations: 188.1 kB / 1.258 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.741e-05/1.187, allocations: 74.94 kB / 1.258 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/1.187, allocations: 45.62 kB / 1.258 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.188, allocations: 338.8 kB / 1.258 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/1.188, allocations: 67.91 kB / 1.259 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/1.188, allocations: 114 kB / 1.259 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/1.188, allocations: 192.1 kB / 1.259 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.188, allocations: 8 kB / 1.259 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003949/1.189, allocations: 245.1 kB / 1.259 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.189, allocations: 4 kB / 1.259 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.189, allocations: 7.938 kB / 1.259 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.189, allocations: 0 / 1.259 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/1.189, allocations: 47.92 kB / 1.259 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.189, allocations: 7.984 kB / 1.259 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.189, allocations: 23.94 kB / 1.259 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/1.189, allocations: 8 kB / 1.259 GB, free: 13.5 MB / 0.9981 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.0001783/1.189, allocations: 158.6 kB / 1.259 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/1.189, allocations: 31.66 kB / 1.259 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/1.19, allocations: 39.08 kB / 1.259 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.19, allocations: 0 / 1.259 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.19, allocations: 0 / 1.259 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.19, allocations: 4 kB / 1.259 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/1.19, allocations: 413.2 kB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.19, allocations: 4 kB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/1.19, allocations: 31.92 kB / 1.26 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/1.191, allocations: 44.77 kB / 1.26 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/1.191, allocations: 4 kB / 1.26 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/1.192, allocations: 1.512 MB / 1.261 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.192, allocations: 0 / 1.261 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/1.193, allocations: 402.6 kB / 1.262 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/1.193, allocations: 140.7 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/1.193, allocations: 3.938 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/1.193, allocations: 8 kB / 1.262 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/1.193, allocations: 7.984 kB / 1.262 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.193, allocations: 12 kB / 1.262 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002473/1.194, allocations: 223 kB / 1.262 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.194, allocations: 0 / 1.262 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004333/1.194, allocations: 99.84 kB / 1.262 GB, free: 10.16 MB / 0.9981 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.0009943/1.195, allocations: 0.9471 MB / 1.263 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003175/1.195, allocations: 165.9 kB / 1.263 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.195, allocations: 7.938 kB / 1.263 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/1.196, allocations: 198.6 kB / 1.263 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.197, allocations: 201.4 kB / 1.264 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/1.201, allocations: 2.919 MB / 1.267 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/1.201, allocations: 0.7999 MB / 1.267 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002849/1.201, allocations: 59.25 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.202, allocations: 103.4 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.202, allocations: 0 / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/1.243, allocations: 9.136 MB / 1.276 GB, free: 11.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.45, allocations: 11.44 kB / 1.276 GB, free: 11.68 MB / 1.014 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches