Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 111.9 kB / 16.42 MB, free: 6.445 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.001557/0.001557, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.326/2.326, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001821/1.068, allocations: 0.6195 MB / 1.089 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007287/1.069, allocations: 352.5 kB / 1.09 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/1.069, allocations: 0 / 1.09 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/1.069, allocations: 0 / 1.09 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/1.069, allocations: 5.062 kB / 1.09 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/1.069, allocations: 114.9 kB / 1.09 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/1.07, allocations: 30.36 kB / 1.09 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/1.07, allocations: 7.281 kB / 1.09 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/1.07, allocations: 10.61 kB / 1.09 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/1.07, allocations: 10.95 kB / 1.09 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/1.07, allocations: 2.219 kB / 1.09 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/1.07, allocations: 274.4 kB / 1.09 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/1.07, allocations: 14.34 kB / 1.09 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/1.07, allocations: 9.844 kB / 1.09 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/1.07, allocations: 107.3 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.07, allocations: 0.75 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/1.07, allocations: 0 / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.071, allocations: 4 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004231/1.071, allocations: 351.2 kB / 1.091 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.071, allocations: 10.48 kB / 1.091 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/1.071, allocations: 7.531 kB / 1.091 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/1.071, allocations: 170.8 kB / 1.091 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.071, allocations: 1.375 kB / 1.091 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/1.071, allocations: 3.656 kB / 1.091 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/1.071, allocations: 54.86 kB / 1.091 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.071, allocations: 4.188 kB / 1.091 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.071, allocations: 5.594 kB / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.071, allocations: 1.219 kB / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.749e-05/1.071, allocations: 18.19 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/1.072, allocations: 170.5 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/1.072, allocations: 57.42 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/1.072, allocations: 28.2 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/1.072, allocations: 459.8 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/1.072, allocations: 36.33 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/1.072, allocations: 0 / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00122/1.074, allocations: 0.596 MB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/1.074, allocations: 52.59 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/1.074, allocations: 95.25 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/1.074, allocations: 31.23 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.718e-05/1.074, allocations: 84.14 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/1.074, allocations: 40.41 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/1.074, allocations: 28.88 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/1.074, allocations: 318.5 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/1.074, allocations: 17.38 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/1.074, allocations: 27.5 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.736e-05/1.074, allocations: 59.98 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.074, allocations: 0 / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001673/1.074, allocations: 111.8 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.074, allocations: 7.844 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.074, allocations: 0.6562 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.074, allocations: 1.5 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.075, allocations: 20.34 kB / 1.093 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.075, allocations: 4.719 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/1.075, allocations: 1.234 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/1.075, allocations: 7.156 kB / 1.093 GB, free: 2.273 MB / 0.8575 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 (13): * Single equations (assignments): 13 * 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 6.409e-05/1.075, allocations: 117.3 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/1.075, allocations: 11.41 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/1.075, allocations: 105.8 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.075, allocations: 1.641 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.075, allocations: 0 / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/1.075, allocations: 95.52 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/1.075, allocations: 1.797 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/1.075, allocations: 6.953 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/1.075, allocations: 5.828 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002181/1.075, allocations: 178.9 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002646/1.076, allocations: 296.2 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.972e-05/1.076, allocations: 28.58 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.221e-05/1.076, allocations: 82.16 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of Backend: time 2.91e-07/1.076, allocations: 0 / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005225/1.076, allocations: 165.5 kB / 1.094 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003582/1.077, allocations: 0.6058 MB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of Templates: time 0.004991/1.082, allocations: 1.613 MB / 1.096 GB, free: 0.6719 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches