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.001848/0.001848, allocations: 110.9 kB / 16.42 MB, free: 6.523 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.001584/0.001584, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.1 MB, free: 15.14 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.569/2.569, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.09 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9947/0.9962, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003572/0.9999, allocations: 1.437 MB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008749/1.001, allocations: 382 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/1.001, allocations: 4 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/1.001, allocations: 3.984 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/1.001, allocations: 7.938 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/1.002, allocations: 113.1 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.178e-05/1.002, allocations: 23.92 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.002, allocations: 7.984 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/1.002, allocations: 11.94 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/1.002, allocations: 15.92 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/1.002, allocations: 8 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005245/1.003, allocations: 279.6 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/1.003, allocations: 0 / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/1.003, allocations: 11.94 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/1.003, allocations: 112.2 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.003, allocations: 0 / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.016e-06/1.003, allocations: 0 / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.003, allocations: 0 / 1.17 GB, free: 1.438 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.0007341/1.004, allocations: 367.1 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.004, allocations: 16.86 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/1.004, allocations: 4.938 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.004, allocations: 168.3 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.004, allocations: 384 / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/1.004, allocations: 4.375 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/1.004, allocations: 50.23 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.004, allocations: 4.125 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/1.004, allocations: 3.938 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.004, allocations: 0 / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/1.005, allocations: 39.95 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/1.005, allocations: 252.8 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.005, allocations: 42.53 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.589e-05/1.005, allocations: 24.91 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000845/1.006, allocations: 465.4 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/1.006, allocations: 34.56 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/1.006, allocations: 4 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.000467/1.007, allocations: 85.58 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/1.007, allocations: 51.41 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.814e-05/1.007, allocations: 109.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.007, allocations: 25.7 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/1.007, allocations: 80.14 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/1.007, allocations: 16.08 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/1.007, allocations: 9.719 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.007, allocations: 314.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.096e-05/1.007, allocations: 19.97 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/1.007, allocations: 11.98 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/1.007, allocations: 44.89 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.007, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002419/1.008, allocations: 73.53 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.008, allocations: 8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.008, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.008, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/1.008, allocations: 7.984 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.008, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.21e-05/1.008, allocations: 15.97 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/1.008, allocations: 4 kB / 1.172 GB, free: 14.81 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 0.0001053/1.008, allocations: 109.8 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/1.008, allocations: 3.938 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/1.008, allocations: 77.11 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.008, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.008, allocations: 4.031 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/1.009, allocations: 81.11 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.009, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/1.009, allocations: 7.984 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/1.009, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002847/1.009, allocations: 148.9 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003414/1.009, allocations: 250.7 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.419e-05/1.009, allocations: 15.98 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.813e-05/1.01, allocations: 95.2 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/1.01, allocations: 3.938 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006375/1.01, allocations: 142.2 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005825/1.011, allocations: 0.5453 MB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of Templates: time 0.004981/1.016, allocations: 1.406 MB / 1.175 GB, free: 11.82 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