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.0008224/0.0008227, allocations: 92.39 kB / 16.02 MB, free: 80 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.0009983/0.0009983, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.27 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.486/2.486, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6416, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007128/0.6424, allocations: 332.4 kB / 0.956 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.554e-05/0.6424, allocations: 4 kB / 0.956 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.215e-05/0.6425, allocations: 1.344 kB / 0.956 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.6425, allocations: 0 / 0.956 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-06/0.6425, allocations: 0 / 0.956 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.826e-05/0.6425, allocations: 0 / 0.956 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.724e-05/0.6426, allocations: 1.281 kB / 0.956 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.379e-05/0.6427, allocations: 5.422 kB / 0.956 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.458e-05/0.6427, allocations: 0 / 0.956 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.847e-05/0.6427, allocations: 5.188 kB / 0.956 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.6427, allocations: 0 / 0.956 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-06/0.6427, allocations: 0 / 0.956 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.6427, allocations: 3.938 kB / 0.956 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.6428, allocations: 30.88 kB / 0.9561 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.93e-05/0.6428, allocations: 0 / 0.9561 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6428, allocations: 1.094 kB / 0.9561 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6428, allocations: 0 / 0.9561 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6428, allocations: 0 / 0.9561 GB, free: 7.453 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.0001776/0.643, allocations: 311 kB / 0.9564 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6431, allocations: 12.72 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.6431, allocations: 0.9375 kB / 0.9564 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.855e-05/0.6432, allocations: 169.5 kB / 0.9565 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6432, allocations: 384 / 0.9565 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.6432, allocations: 1.562 kB / 0.9565 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.352e-05/0.6433, allocations: 27.7 kB / 0.9566 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.6433, allocations: 192 / 0.9566 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.6433, allocations: 5 kB / 0.9566 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6433, allocations: 0 / 0.9566 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.6433, allocations: 1.188 kB / 0.9566 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.076e-05/0.6434, allocations: 150.8 kB / 0.9567 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.105e-05/0.6435, allocations: 23.92 kB / 0.9567 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.6435, allocations: 11.67 kB / 0.9567 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.6435, allocations: 1.156 kB / 0.9567 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.6435, allocations: 30.56 kB / 0.9568 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.724e-06/0.6435, allocations: 5.312 kB / 0.9568 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001021/0.6436, allocations: 37.14 kB / 0.9568 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.6437, allocations: 52.88 kB / 0.9569 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.687e-05/0.6437, allocations: 89.86 kB / 0.9569 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.6437, allocations: 29.64 kB / 0.957 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.127e-05/0.6437, allocations: 80.8 kB / 0.9571 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.6437, allocations: 5.375 kB / 0.9571 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.6438, allocations: 13.7 kB / 0.9571 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.6438, allocations: 311 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-06/0.6438, allocations: 5.469 kB / 0.9574 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.6438, allocations: 5.375 kB / 0.9574 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.6439, allocations: 11.8 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6439, allocations: 0 / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.135e-05/0.6439, allocations: 30.11 kB / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6439, allocations: 7.625 kB / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6439, allocations: 0 / 0.9574 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.644, allocations: 3.938 kB / 0.9574 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.644, allocations: 13.41 kB / 0.9574 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.644, allocations: 1.656 kB / 0.9574 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.644, allocations: 3.984 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.6441, allocations: 0 / 0.9574 GB, free: 5.855 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.152e-05/0.6441, allocations: 108.3 kB / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.6441, allocations: 0 / 0.9576 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.357e-05/0.6441, allocations: 7.062 kB / 0.9576 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6441, allocations: 1.344 kB / 0.9576 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6441, allocations: 0 / 0.9576 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.6441, allocations: 4 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.589e-05/0.6442, allocations: 151.1 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6442, allocations: 0 / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.6442, allocations: 1.438 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.6442, allocations: 0.625 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.6442, allocations: 3.938 kB / 0.9577 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.6442, allocations: 1.094 kB / 0.9577 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6442, allocations: 3.984 kB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.606e-05/0.6443, allocations: 62.86 kB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.6443, allocations: 82.03 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.6443, allocations: 4.969 kB / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-06/0.6443, allocations: 0 / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-06/0.6444, allocations: 1.094 kB / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.6444, allocations: 3.938 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.151e-05/0.6444, allocations: 75.28 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6444, allocations: 1.531 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002174/0.6446, allocations: 0 / 0.9579 GB, free: 5.273 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 7.633e-05/0.6447, allocations: 99.56 kB / 0.958 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.525e-05/0.6448, allocations: 3.719 kB / 0.958 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6448, allocations: 0 / 0.958 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.6448, allocations: 6.281 kB / 0.958 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.6449, allocations: 1.094 kB / 0.958 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.6451, allocations: 112.7 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.6452, allocations: 0.6743 MB / 0.9588 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.6452, allocations: 12.62 kB / 0.9588 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6452, allocations: 0 / 0.9588 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.001333/0.6465, allocations: 313.7 kB / 0.9591 GB, free: 4.184 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