Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modTim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002463/0.002463, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.582/2.582, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9155/0.9169, allocations: 140.4 MB / 0.9496 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001983/0.9189, allocations: 0.588 MB / 0.9501 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.638e-05/0.919, allocations: 1.469 kB / 0.9501 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.919, allocations: 0 / 0.9501 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.9191, allocations: 0 / 0.9501 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.9191, allocations: 1.281 kB / 0.9501 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.521e-05/0.9191, allocations: 4 kB / 0.9502 GB, free: 9 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.9192, allocations: 5.031 kB / 0.9502 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.259e-05/0.9193, allocations: 1.156 kB / 0.9502 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.855e-05/0.9193, allocations: 5.094 kB / 0.9502 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.482e-05/0.9193, allocations: 0 / 0.9502 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.9193, allocations: 0 / 0.9502 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.9193, allocations: 1.281 kB / 0.9502 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.9194, allocations: 3.938 kB / 0.9502 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.9194, allocations: 3.984 kB / 0.9502 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.728e-05/0.9194, allocations: 1.312 kB / 0.9502 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9194, allocations: 0 / 0.9502 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9195, allocations: 0 / 0.9502 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9195, allocations: 0 / 0.9502 GB, free: 8.984 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002387/0.9197, allocations: 318.3 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.9198, allocations: 9.719 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.9198, allocations: 2.156 kB / 0.9505 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.582e-05/0.9199, allocations: 164.3 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9199, allocations: 384 / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.9199, allocations: 1.594 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/0.92, allocations: 27.48 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.92, allocations: 1.312 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.92, allocations: 3.938 kB / 0.9507 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.92, allocations: 7.984 kB / 0.9507 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.92, allocations: 1.125 kB / 0.9507 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.9202, allocations: 147.1 kB / 0.9508 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.465e-05/0.9202, allocations: 21.45 kB / 0.9508 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.9202, allocations: 6.297 kB / 0.9509 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.9202, allocations: 1.25 kB / 0.9509 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.9203, allocations: 34.56 kB / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.9203, allocations: 0 / 0.9509 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.9204, allocations: 46.64 kB / 0.9509 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.9204, allocations: 52.72 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.142e-05/0.9205, allocations: 93.8 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.9205, allocations: 25.7 kB / 0.9511 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.9205, allocations: 80.14 kB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.9205, allocations: 12.91 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.9206, allocations: 11.09 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.9206, allocations: 315.9 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.9206, allocations: 1.219 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.9206, allocations: 5.25 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.9207, allocations: 7.234 kB / 0.9515 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9207, allocations: 0 / 0.9515 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.961e-05/0.9207, allocations: 34.69 kB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9207, allocations: 6.719 kB / 0.9515 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9208, allocations: 4.094 kB / 0.9516 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9208, allocations: 3.938 kB / 0.9516 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.9208, allocations: 2.031 kB / 0.9516 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9208, allocations: 7.922 kB / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.9209, allocations: 0 / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.9209, allocations: 2 kB / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.496e-05/0.9209, allocations: 109.8 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.9209, allocations: 1.75 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.9209, allocations: 11.06 kB / 0.9517 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.921, allocations: 7.984 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.921, allocations: 0 / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.921, allocations: 1.344 kB / 0.9517 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.153e-05/0.921, allocations: 141.7 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.921, allocations: 1.312 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-06/0.921, allocations: 1.344 kB / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.921, allocations: 0 / 0.9518 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.9211, allocations: 5.219 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.9211, allocations: 0 / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.9211, allocations: 0 / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.959e-05/0.9211, allocations: 63.19 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.9212, allocations: 77.11 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.9212, allocations: 9.094 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.9212, allocations: 0 / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.9212, allocations: 1.375 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.9212, allocations: 0 / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.444e-05/0.9212, allocations: 76.38 kB / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.112e-06/0.9212, allocations: 0 / 0.9521 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002074/0.9214, allocations: 9.5 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 9.18e-05/0.9215, allocations: 99.19 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.9216, allocations: 3.219 kB / 0.9522 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9216, allocations: 3.938 kB / 0.9522 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-06/0.9216, allocations: 6.969 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.9218, allocations: 1.719 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.922, allocations: 84.23 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.9221, allocations: 0.6779 MB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.093e-05/0.9221, allocations: 0 / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.9221, allocations: 8.844 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9221, allocations: 0 / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Templates: time 0.002042/0.9242, allocations: 164.8 kB / 0.9531 GB, free: 5.797 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_9_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches