Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.002189/0.002189, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 75.88 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00203/1.086, allocations: 0.5896 MB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001697/1.088, allocations: 1.114 MB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/1.088, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/1.088, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/1.088, allocations: 15.94 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.819e-06/1.088, allocations: 0 / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.197e-05/1.088, allocations: 19.8 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.535e-05/1.088, allocations: 7.984 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.521e-05/1.088, allocations: 0 / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.445e-05/1.088, allocations: 0 / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/1.088, allocations: 0 / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/1.088, allocations: 15.98 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/1.088, allocations: 15.92 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/1.088, allocations: 3.938 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.883e-05/1.089, allocations: 11.98 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.089, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.234e-06/1.089, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.483e-06/1.089, allocations: 0 / 1.169 GB, free: 2.074 MB / 0.8887 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.0003464/1.089, allocations: 320.1 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.089, allocations: 8.031 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/1.089, allocations: 4.891 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/1.089, allocations: 168.4 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/1.089, allocations: 384 / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/1.089, allocations: 4.375 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/1.089, allocations: 38 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.089, allocations: 0 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/1.089, allocations: 0 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/1.089, allocations: 0 / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/1.089, allocations: 11.94 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/1.09, allocations: 149.7 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/1.09, allocations: 42.59 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/1.09, allocations: 8.859 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.09, allocations: 85.19 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.09, allocations: 38.44 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.856e-06/1.09, allocations: 4 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.004222/1.094, allocations: 0.5677 MB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.094, allocations: 55.34 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.706e-05/1.094, allocations: 89.86 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/1.094, allocations: 25.7 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/1.094, allocations: 80.14 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/1.094, allocations: 27.78 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/1.095, allocations: 17.7 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.095, allocations: 314.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/1.095, allocations: 83.95 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/1.096, allocations: 102.5 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.097, allocations: 190.4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.097, allocations: 4 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001265/1.098, allocations: 217.5 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.098, allocations: 7.938 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.098, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.098, allocations: 4 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.099, allocations: 48.19 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.099, allocations: 4 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/1.099, allocations: 43.97 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/1.099, allocations: 4 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 8.843e-05/1.099, allocations: 113.8 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/1.099, allocations: 3.938 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/1.101, allocations: 237 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/1.101, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.101, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/1.101, allocations: 85.05 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/1.101, allocations: 8 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/1.101, allocations: 35.98 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/1.101, allocations: 8 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001593/1.103, allocations: 320.8 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00134/1.104, allocations: 382.6 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005839/1.105, allocations: 87.95 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.03e-05/1.105, allocations: 75.28 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of Backend: time 2.234e-06/1.105, allocations: 0 / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.106, allocations: 189.6 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004303/1.106, allocations: 0.5292 MB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.003816/1.11, allocations: 1.373 MB / 1.175 GB, free: 11.57 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches