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.00124/0.00124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001281/0.001281, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.491/1.491, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.539/2.539, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8036, allocations: 140.4 MB / 0.9491 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001992/0.8057, allocations: 0.6456 MB / 0.9497 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 4.297e-05/0.8057, allocations: 1.5 kB / 0.9497 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.8058, allocations: 0 / 0.9497 GB, free: 8.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.154e-05/0.8058, allocations: 4 kB / 0.9497 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.8058, allocations: 0 / 0.9497 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.639e-05/0.8059, allocations: 1.625 kB / 0.9497 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.806, allocations: 0 / 0.9497 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/0.806, allocations: 1.406 kB / 0.9497 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.599e-05/0.8061, allocations: 0 / 0.9497 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.683e-05/0.8061, allocations: 9.375 kB / 0.9497 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.8061, allocations: 0 / 0.9497 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-06/0.8061, allocations: 3.938 kB / 0.9497 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.8061, allocations: 0 / 0.9497 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.8062, allocations: 5.25 kB / 0.9497 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.238e-05/0.8062, allocations: 7.984 kB / 0.9498 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8063, allocations: 1.344 kB / 0.9498 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8063, allocations: 0 / 0.9498 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.8063, allocations: 0 / 0.9498 GB, free: 8.875 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.0002509/0.8065, allocations: 306.2 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.8066, allocations: 9.562 kB / 0.9501 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.8066, allocations: 0.9375 kB / 0.9501 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.346e-05/0.8067, allocations: 165.8 kB / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.8067, allocations: 384 / 0.9502 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.8067, allocations: 5.625 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.8068, allocations: 31.73 kB / 0.9503 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.8068, allocations: 192 / 0.9503 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.8068, allocations: 3.938 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.8068, allocations: 1.375 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.8069, allocations: 3.938 kB / 0.9503 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.807, allocations: 143.1 kB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.856e-05/0.807, allocations: 17.33 kB / 0.9504 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.8071, allocations: 19.59 kB / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8071, allocations: 0 / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.8071, allocations: 31.94 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.8071, allocations: 0 / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.8072, allocations: 37.7 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.8073, allocations: 52.78 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.134e-05/0.8073, allocations: 89.86 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.8073, allocations: 29.83 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.437e-05/0.8073, allocations: 84.08 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.8074, allocations: 13.27 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.8074, allocations: 11.09 kB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.8075, allocations: 316.2 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.8075, allocations: 0 / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.8075, allocations: 1.375 kB / 0.9511 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.8075, allocations: 11.67 kB / 0.9511 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8075, allocations: 0 / 0.9511 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.605e-05/0.8076, allocations: 39.14 kB / 0.9511 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8076, allocations: 5.5 kB / 0.9511 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8076, allocations: 4 kB / 0.9511 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8076, allocations: 3.938 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.8077, allocations: 1.375 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8077, allocations: 1.375 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.8077, allocations: 0 / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.8077, allocations: 1.375 kB / 0.9511 GB, free: 7.289 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 5.066e-05/0.8078, allocations: 117.8 kB / 0.9512 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-06/0.8078, allocations: 1.375 kB / 0.9512 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.8078, allocations: 11.05 kB / 0.9513 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8078, allocations: 1.375 kB / 0.9513 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.8078, allocations: 0 / 0.9513 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8078, allocations: 0 / 0.9513 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.579e-05/0.8079, allocations: 147.1 kB / 0.9514 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8079, allocations: 3.984 kB / 0.9514 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-06/0.8079, allocations: 1.375 kB / 0.9514 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8079, allocations: 5.375 kB / 0.9514 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.808, allocations: 3.938 kB / 0.9514 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.808, allocations: 0 / 0.9514 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.808, allocations: 1.375 kB / 0.9514 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.599e-05/0.808, allocations: 54.58 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.8081, allocations: 77.11 kB / 0.9515 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.8081, allocations: 9.297 kB / 0.9516 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.8081, allocations: 0 / 0.9516 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.8081, allocations: 9.406 kB / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.8081, allocations: 0 / 0.9516 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.8081, allocations: 75.28 kB / 0.9516 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8081, allocations: 3.938 kB / 0.9516 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002346/0.8084, allocations: 1.375 kB / 0.9516 GB, free: 6.695 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.73e-05/0.8085, allocations: 94.97 kB / 0.9517 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.181e-05/0.8086, allocations: 4.125 kB / 0.9517 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8086, allocations: 8 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.8086, allocations: 2.75 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.8088, allocations: 1.375 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.809, allocations: 78.56 kB / 0.9518 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.8092, allocations: 0.6741 MB / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.472e-05/0.8092, allocations: 0 / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.8092, allocations: 7.438 kB / 0.9525 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8092, allocations: 1.375 kB / 0.9525 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.002108/0.8113, allocations: 169.3 kB / 0.9526 GB, free: 5.703 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