Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.002364/0.002365, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7428 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 67.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.004201/1.081, allocations: 1.441 MB / 1.222 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001108/1.082, allocations: 390.6 kB / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/1.082, allocations: 0 / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/1.082, allocations: 0 / 1.223 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/1.083, allocations: 3.938 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/1.083, allocations: 122.9 kB / 1.223 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/1.084, allocations: 20 kB / 1.223 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/1.084, allocations: 19.91 kB / 1.223 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.103e-05/1.084, allocations: 3.938 kB / 1.223 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/1.084, allocations: 11.98 kB / 1.223 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/1.084, allocations: 7.938 kB / 1.223 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/1.085, allocations: 283.6 kB / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/1.085, allocations: 0 / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/1.085, allocations: 11.94 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/1.085, allocations: 107.8 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/1.085, allocations: 8 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.799e-06/1.085, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.085, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9512 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.0006906/1.086, allocations: 363.3 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.086, allocations: 8.625 kB / 1.224 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.932e-05/1.086, allocations: 8.922 kB / 1.224 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/1.086, allocations: 164.3 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/1.086, allocations: 4.375 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/1.086, allocations: 384 / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/1.087, allocations: 58.22 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.087, allocations: 192 / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.087, allocations: 3.938 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.087, allocations: 0 / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/1.087, allocations: 35.91 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/1.087, allocations: 249 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/1.087, allocations: 46.55 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.984e-05/1.087, allocations: 20.84 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00091/1.088, allocations: 461.5 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/1.088, allocations: 34.55 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.088, allocations: 3.938 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004363/1.089, allocations: 77.66 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.089, allocations: 59.47 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/1.089, allocations: 109.8 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/1.089, allocations: 25.7 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/1.089, allocations: 93.88 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/1.089, allocations: 3.984 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/1.089, allocations: 9.719 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.089, allocations: 318.8 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/1.089, allocations: 15.98 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/1.09, allocations: 23.97 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/1.09, allocations: 36.77 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.09, allocations: 0 / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002481/1.09, allocations: 77.56 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.09, allocations: 8 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.09, allocations: 3.938 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.09, allocations: 0 / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/1.09, allocations: 11.98 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.09, allocations: 0 / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/1.09, allocations: 4 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/1.09, allocations: 0 / 1.225 GB, free: 13.32 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.548e-05/1.09, allocations: 109.8 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/1.09, allocations: 11.97 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/1.091, allocations: 81.11 kB / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.091, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.091, allocations: 0 / 1.226 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/1.091, allocations: 81.02 kB / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/1.091, allocations: 0 / 1.226 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/1.091, allocations: 7.984 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/1.091, allocations: 4.031 kB / 1.226 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002714/1.091, allocations: 152.9 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003227/1.091, allocations: 234.7 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.356e-05/1.092, allocations: 28.03 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.163e-05/1.092, allocations: 83.28 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of Backend: time 3.7e-07/1.092, allocations: 0 / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006196/1.092, allocations: 144.2 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006286/1.093, allocations: 0.5532 MB / 1.227 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.004503/1.097, allocations: 1.42 MB / 1.228 GB, free: 10.31 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches