Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.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.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001357/0.001357, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.3 MB / 240 MB, free: 5.305 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.692/2.692, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 8 kB / 0.8153 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7598, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00122/0.7611, allocations: 1.174 MB / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000652/0.7617, allocations: 0.5141 MB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.7618, allocations: 1.062 kB / 0.9561 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.7618, allocations: 3.984 kB / 0.9561 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.7619, allocations: 5.188 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.7621, allocations: 43.47 kB / 0.9561 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.7622, allocations: 21.11 kB / 0.9562 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.7623, allocations: 11.67 kB / 0.9562 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.23e-05/0.7623, allocations: 8.656 kB / 0.9562 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.7624, allocations: 16.64 kB / 0.9562 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.7624, allocations: 5 kB / 0.9562 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.7625, allocations: 48.66 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.7625, allocations: 1 kB / 0.9562 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.7626, allocations: 38.77 kB / 0.9563 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.929e-05/0.7627, allocations: 41 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.7627, allocations: 0 / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7627, allocations: 0 / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.7627, allocations: 1.094 kB / 0.9563 GB, free: 6.238 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000336/0.763, allocations: 350.2 kB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7631, allocations: 9.188 kB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.7631, allocations: 9.359 kB / 0.9567 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.7632, allocations: 165.8 kB / 0.9568 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.7632, allocations: 1.531 kB / 0.9568 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.7632, allocations: 1.188 kB / 0.9568 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.7634, allocations: 46.61 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.7634, allocations: 1.188 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.7634, allocations: 0 / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.7634, allocations: 0 / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.031e-05/0.7635, allocations: 35.31 kB / 0.9569 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.7637, allocations: 247.5 kB / 0.9571 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.358e-05/0.7638, allocations: 34.62 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.7639, allocations: 24.33 kB / 0.9572 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/0.7645, allocations: 0.4916 MB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.7645, allocations: 38.48 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7645, allocations: 1.125 kB / 0.9577 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002123/0.7648, allocations: 67.64 kB / 0.9578 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.7648, allocations: 56.5 kB / 0.9578 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.882e-05/0.7649, allocations: 111.1 kB / 0.9579 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.7649, allocations: 31.61 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.24e-05/0.7649, allocations: 84.12 kB / 0.9581 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.7649, allocations: 9.781 kB / 0.9581 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.7649, allocations: 0 / 0.9581 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.765, allocations: 312.6 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.664e-05/0.765, allocations: 18.58 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.087e-05/0.7651, allocations: 7.844 kB / 0.9584 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.7651, allocations: 19.48 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7651, allocations: 1.938 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.7652, allocations: 53.69 kB / 0.9585 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.7652, allocations: 8.625 kB / 0.9585 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.7653, allocations: 0 / 0.9585 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.7653, allocations: 1.625 kB / 0.9585 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.7653, allocations: 13.25 kB / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7654, allocations: 320 / 0.9585 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.052e-05/0.7654, allocations: 7.156 kB / 0.9585 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.7654, allocations: 0 / 0.9585 GB, free: 3.961 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.7654, allocations: 112.7 kB / 0.9586 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.7655, allocations: 9.438 kB / 0.9586 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.7656, allocations: 64.8 kB / 0.9587 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.7656, allocations: 1.5 kB / 0.9587 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7656, allocations: 7.953 kB / 0.9587 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.7656, allocations: 0 / 0.9587 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.7658, allocations: 167.7 kB / 0.9588 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7658, allocations: 0 / 0.9588 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.7658, allocations: 5.656 kB / 0.9588 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7658, allocations: 5.375 kB / 0.9588 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.7658, allocations: 0 / 0.9588 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7658, allocations: 7.969 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7658, allocations: 1.375 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.766, allocations: 151.8 kB / 0.959 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.766, allocations: 86.36 kB / 0.9591 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.766, allocations: 5.469 kB / 0.9591 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.05e-05/0.7661, allocations: 7.141 kB / 0.9591 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.7661, allocations: 0 / 0.9591 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.7661, allocations: 5.469 kB / 0.9591 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.7662, allocations: 93.05 kB / 0.9592 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7662, allocations: 0 / 0.9592 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002369/0.7664, allocations: 20.27 kB / 0.9592 GB, free: 3.203 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001314/0.7665, allocations: 116.2 kB / 0.9593 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.7667, allocations: 26.17 kB / 0.9593 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7667, allocations: 0 / 0.9593 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.7667, allocations: 8.969 kB / 0.9594 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.7669, allocations: 9.688 kB / 0.9594 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.7672, allocations: 136.6 kB / 0.9595 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.7673, allocations: 0.6787 MB / 0.9602 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.7673, allocations: 1.438 kB / 0.9602 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.7673, allocations: 8.75 kB / 0.9602 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7673, allocations: 0 / 0.9602 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.002341/0.7697, allocations: 0.6249 MB / 0.9608 GB, free: 1.922 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches