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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001654/0.001654, allocations: 100.1 kB / 15.88 MB, free: 12 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.001631/0.001631, allocations: 200 kB / 16.79 MB, free: 6.828 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002525/0.002526, allocations: 67.89 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6534, allocations: 140.4 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001653/0.6551, allocations: 0.6534 MB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.013e-05/0.6552, allocations: 1.031 kB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.6552, allocations: 0.9375 kB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.6552, allocations: 0 / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.278e-06/0.6552, allocations: 4 kB / 0.9502 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.656e-05/0.6553, allocations: 1.875 kB / 0.9502 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.546e-05/0.6553, allocations: 4 kB / 0.9502 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.6554, allocations: 1.125 kB / 0.9502 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.6554, allocations: 5.297 kB / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.542e-05/0.6554, allocations: 0 / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.6554, allocations: 0 / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.447e-06/0.6554, allocations: 0 / 0.9502 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.6554, allocations: 5.031 kB / 0.9502 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.6555, allocations: 0 / 0.9502 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.408e-05/0.6555, allocations: 1.062 kB / 0.9502 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6555, allocations: 4 kB / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6555, allocations: 0 / 0.9502 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.6555, allocations: 0 / 0.9502 GB, free: 8.734 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.0001719/0.6557, allocations: 306.8 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6557, allocations: 9.188 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.6558, allocations: 2 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.932e-05/0.6558, allocations: 168.4 kB / 0.9507 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.6558, allocations: 384 / 0.9507 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.6558, allocations: 5.469 kB / 0.9507 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.038e-05/0.6559, allocations: 31.42 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.6559, allocations: 5.297 kB / 0.9507 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.6559, allocations: 3.938 kB / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.6559, allocations: 0 / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.411e-05/0.656, allocations: 1.25 kB / 0.9507 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.234e-05/0.6561, allocations: 142.8 kB / 0.9509 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.208e-05/0.6561, allocations: 24.84 kB / 0.9509 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.6561, allocations: 15.05 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.6561, allocations: 1.219 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.6561, allocations: 32.09 kB / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.6561, allocations: 0 / 0.951 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.612e-05/0.6562, allocations: 37.3 kB / 0.951 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.735e-05/0.6563, allocations: 52.5 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.413e-05/0.6563, allocations: 93.86 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-06/0.6563, allocations: 25.7 kB / 0.9512 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-06/0.6563, allocations: 85.27 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.6563, allocations: 3.906 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.6564, allocations: 15.92 kB / 0.9513 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.6564, allocations: 312 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.6564, allocations: 7.875 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-06/0.6564, allocations: 1.125 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/0.6565, allocations: 16.17 kB / 0.9516 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6565, allocations: 4.062 kB / 0.9516 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.785e-05/0.6565, allocations: 31.23 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.6565, allocations: 4.531 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.6565, allocations: 1.188 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.6565, allocations: 3.938 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.6566, allocations: 1.062 kB / 0.9516 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.6566, allocations: 5.078 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.6566, allocations: 0 / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.6566, allocations: 1.125 kB / 0.9516 GB, free: 7.141 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 3.792e-05/0.6567, allocations: 115 kB / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-06/0.6567, allocations: 0 / 0.9517 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.173e-05/0.6567, allocations: 8.188 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.6567, allocations: 0 / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6567, allocations: 1.031 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-06/0.6567, allocations: 0 / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.533e-05/0.6568, allocations: 154.9 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6568, allocations: 0 / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-06/0.6568, allocations: 2.594 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.6568, allocations: 0 / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.6568, allocations: 7.938 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6568, allocations: 1.031 kB / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6568, allocations: 0 / 0.9519 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.285e-05/0.6568, allocations: 55.3 kB / 0.952 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.6569, allocations: 81.09 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.6569, allocations: 5.375 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.6569, allocations: 0 / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.6569, allocations: 5.344 kB / 0.952 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.6569, allocations: 4 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.6569, allocations: 75.28 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.6569, allocations: 0 / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001894/0.6571, allocations: 1.312 kB / 0.9521 GB, free: 6.555 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 6.986e-05/0.6572, allocations: 99.59 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.6573, allocations: 2.688 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6573, allocations: 5.25 kB / 0.9522 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.239e-06/0.6573, allocations: 5.281 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.6574, allocations: 1.344 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001409/0.6576, allocations: 106.9 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.951e-05/0.6576, allocations: 0.6705 MB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.6577, allocations: 7.438 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of SimCode: time 8.71e-07/0.6577, allocations: 0 / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of Templates: time 0.001237/0.6589, allocations: 329.3 kB / 0.9533 GB, free: 5.461 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Examples.ModelTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches