Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00143/0.00143, allocations: 107.8 kB / 16.41 MB, free: 6.488 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.001761/0.001761, allocations: 186.5 kB / 17.35 MB, free: 5.766 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.779/2.779, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002499/1.085, allocations: 0.6241 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009622/1.086, allocations: 350.7 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/1.087, allocations: 8 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/1.087, allocations: 0 / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/1.087, allocations: 3.938 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/1.087, allocations: 107.7 kB / 1.21 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.289e-05/1.087, allocations: 23.97 kB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/1.087, allocations: 7.984 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/1.088, allocations: 11.94 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/1.088, allocations: 23.86 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/1.088, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004736/1.088, allocations: 275.7 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/1.088, allocations: 11.97 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/1.088, allocations: 11.94 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/1.088, allocations: 95.77 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.088, allocations: 4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.246e-06/1.088, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.088, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 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.0005987/1.089, allocations: 363.3 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.089, allocations: 12.03 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/1.089, allocations: 4.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/1.089, allocations: 168.4 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/1.089, allocations: 384 / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/1.089, allocations: 8.375 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/1.09, allocations: 42.25 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.09, allocations: 4.188 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/1.09, allocations: 7.922 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.09, allocations: 3.938 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/1.09, allocations: 23.92 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/1.09, allocations: 173.5 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/1.09, allocations: 62.55 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/1.09, allocations: 24.86 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/1.091, allocations: 461.5 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.091, allocations: 34.8 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.296e-06/1.091, allocations: 4 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001465/1.093, allocations: 0.5894 MB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/1.093, allocations: 55.41 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/1.093, allocations: 101.8 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/1.093, allocations: 25.7 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/1.093, allocations: 80.14 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/1.093, allocations: 43.53 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/1.093, allocations: 33.66 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.093, allocations: 318.8 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/1.093, allocations: 20 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/1.093, allocations: 19.98 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/1.093, allocations: 60.34 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/1.093, allocations: 0 / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001713/1.093, allocations: 105.5 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/1.094, allocations: 5.719 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.094, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.094, allocations: 0 / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.094, allocations: 31.98 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.094, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/1.094, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/1.094, allocations: 4 kB / 1.213 GB, free: 8.82 MB / 0.9356 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 0.0001015/1.094, allocations: 117.8 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/1.094, allocations: 7.844 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/1.094, allocations: 109.6 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.094, allocations: 0 / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.094, allocations: 4 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/1.094, allocations: 85.09 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/1.094, allocations: 4 kB / 1.213 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.069e-05/1.094, allocations: 4 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/1.094, allocations: 3.984 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002487/1.095, allocations: 181.2 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000327/1.095, allocations: 302.8 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.029e-05/1.095, allocations: 35.97 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.566e-05/1.095, allocations: 79.28 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of Backend: time 2.9e-07/1.095, allocations: 0 / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005678/1.096, allocations: 162.2 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006213/1.096, allocations: 0.6085 MB / 1.214 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.005033/1.101, allocations: 1.631 MB / 1.216 GB, free: 5.398 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches