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.007539/0.007539, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001681/0.001681, allocations: 192 kB / 16.67 MB, free: 5.973 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.452/2.452, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 64.12 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9885/0.9897, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002459/0.9922, allocations: 1.441 MB / 1.168 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.993, allocations: 378 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.993, allocations: 4 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.9931, allocations: 3.984 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.9931, allocations: 3.938 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.9935, allocations: 115.6 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.9936, allocations: 31.91 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.9938, allocations: 7.984 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.9938, allocations: 11.94 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.9939, allocations: 15.92 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.9939, allocations: 4 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.9944, allocations: 271.6 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.9944, allocations: 4 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.9944, allocations: 11.94 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.9947, allocations: 116.2 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9947, allocations: 0 / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.057e-06/0.9947, allocations: 4 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.9947, allocations: 3.938 kB / 1.169 GB, free: 1.484 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.000563/0.9953, allocations: 367.1 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9953, allocations: 8.922 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.704e-05/0.9954, allocations: 4.938 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.9956, allocations: 164.3 kB / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.9956, allocations: 384 / 1.169 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.9956, allocations: 4.375 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.9958, allocations: 54.23 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9958, allocations: 192 / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9959, allocations: 7.938 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.9959, allocations: 0 / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.996, allocations: 35.95 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.9965, allocations: 248.9 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.9966, allocations: 46.48 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.069e-05/0.9967, allocations: 24.91 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/0.9975, allocations: 465.4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.9975, allocations: 30.56 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.9975, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0004308/0.998, allocations: 85.58 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.998, allocations: 55.53 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.9981, allocations: 101.9 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.9982, allocations: 29.69 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.9982, allocations: 88.14 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.9982, allocations: 3.953 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.9983, allocations: 13.72 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9984, allocations: 314.8 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.9985, allocations: 23.97 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.9986, allocations: 15.98 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.9988, allocations: 32.83 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9988, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.999, allocations: 81.56 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.999, allocations: 12 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.999, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.999, allocations: 0 / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.9991, allocations: 7.984 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9991, allocations: 4.25 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.9992, allocations: 7.953 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.9992, allocations: 7.984 kB / 1.171 GB, free: 14.87 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 8.011e-05/0.9993, allocations: 109.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.9993, allocations: 8 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.9996, allocations: 73.12 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.9996, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9996, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9996, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.9998, allocations: 161.6 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9998, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.9998, allocations: 11.98 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9998, allocations: 4.031 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.9999, allocations: 4 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.9999, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9999, allocations: 3.938 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/1, allocations: 159.5 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/1, allocations: 85.06 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/1, allocations: 4.031 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/1, allocations: 11.98 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/1, allocations: 7.922 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/1, allocations: 0 / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.104e-05/1, allocations: 83.28 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1, allocations: 0 / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002361/1.001, allocations: 23.92 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001906/1.001, allocations: 107.2 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002353/1.001, allocations: 43.95 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.001, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/1.001, allocations: 19.98 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/1.001, allocations: 3.938 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/1.002, allocations: 114.7 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/1.002, allocations: 0.6847 MB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.277e-05/1.002, allocations: 0 / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/1.002, allocations: 7.438 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/1.002, allocations: 0 / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of Templates: time 0.002836/1.005, allocations: 0.7256 MB / 1.174 GB, free: 12.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches