Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_10_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.001174/0.001174, allocations: 110 kB / 16.41 MB, free: 6.395 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.001222/0.001222, allocations: 189.1 kB / 17.34 MB, free: 5.836 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.15 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.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 64.12 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002618/1.05, allocations: 1.437 MB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/1.051, allocations: 393.8 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/1.051, allocations: 4 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/1.051, allocations: 0 / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/1.051, allocations: 3.938 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/1.052, allocations: 121 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/1.052, allocations: 15.98 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/1.052, allocations: 15.92 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/1.052, allocations: 7.938 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/1.052, allocations: 11.98 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/1.052, allocations: 7.938 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003994/1.052, allocations: 271.7 kB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/1.052, allocations: 11.97 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/1.053, allocations: 11.94 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/1.053, allocations: 116.2 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.053, allocations: 0 / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/1.053, allocations: 0 / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.053, allocations: 0 / 1.17 GB, free: 1.477 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.0005547/1.053, allocations: 363.2 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.053, allocations: 8.922 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/1.053, allocations: 4.938 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/1.054, allocations: 168.3 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.054, allocations: 384 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/1.054, allocations: 8.375 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/1.054, allocations: 50.23 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.054, allocations: 192 / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.054, allocations: 7.875 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.054, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/1.054, allocations: 31.97 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/1.054, allocations: 256.9 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/1.055, allocations: 38.5 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/1.055, allocations: 28.89 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/1.055, allocations: 453.5 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.055, allocations: 38.5 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 3.206e-06/1.055, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000377/1.056, allocations: 93.66 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/1.056, allocations: 51.41 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/1.056, allocations: 113.8 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/1.056, allocations: 25.7 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/1.056, allocations: 84.14 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/1.056, allocations: 7.953 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/1.056, allocations: 13.7 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.056, allocations: 318.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.002e-05/1.056, allocations: 16.02 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/1.056, allocations: 15.98 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.057, allocations: 44.75 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.057, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002057/1.057, allocations: 73.91 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.057, allocations: 8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.057, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.057, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/1.057, allocations: 8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.057, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/1.057, allocations: 15.94 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.057, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 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 9.959e-05/1.057, allocations: 109.9 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/1.057, allocations: 3.938 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/1.057, allocations: 81.11 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.057, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.057, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/1.057, allocations: 81.11 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/1.057, allocations: 0 / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/1.058, allocations: 12.02 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/1.058, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002523/1.058, allocations: 152.8 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002875/1.058, allocations: 246.8 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.973e-05/1.058, allocations: 15.97 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.907e-05/1.058, allocations: 87.28 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of Backend: time 5.41e-07/1.058, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006103/1.059, allocations: 144.7 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006905/1.06, allocations: 0.5571 MB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.004298/1.064, allocations: 1.399 MB / 1.175 GB, free: 11.88 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches