Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 111.1 kB / 16.41 MB, free: 6.52 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.001649/0.001649, allocations: 185.5 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.521/1.521, 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 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 71.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002866/1.035, allocations: 0.5867 MB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001044/1.036, allocations: 326.8 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/1.036, allocations: 0 / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/1.036, allocations: 0 / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-06/1.036, allocations: 0 / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/1.037, allocations: 112.5 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.755e-05/1.037, allocations: 7.938 kB / 1.168 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/1.037, allocations: 4 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/1.037, allocations: 3.984 kB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.962e-05/1.037, allocations: 0 / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/1.037, allocations: 0 / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/1.038, allocations: 275.6 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/1.038, allocations: 0 / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/1.038, allocations: 0 / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/1.038, allocations: 88.36 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/1.038, allocations: 0 / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.246e-06/1.038, allocations: 0 / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.717e-06/1.038, allocations: 0 / 1.169 GB, free: 2.465 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005238/1.039, allocations: 339.3 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/1.039, allocations: 12.92 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/1.039, allocations: 0.9375 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/1.039, allocations: 160.4 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/1.039, allocations: 384 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/1.039, allocations: 8.25 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/1.039, allocations: 34.2 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.04, allocations: 192 / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.04, allocations: 7.938 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.04, allocations: 0 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.294e-05/1.04, allocations: 3.984 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/1.04, allocations: 149.7 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/1.04, allocations: 17.05 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/1.04, allocations: 4.859 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/1.041, allocations: 433.5 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.041, allocations: 30.56 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.554e-06/1.041, allocations: 3.938 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002076/1.041, allocations: 45.58 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.041, allocations: 51.41 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/1.041, allocations: 93.86 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.041, allocations: 29.83 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/1.041, allocations: 80.14 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/1.041, allocations: 0 / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/1.041, allocations: 13.72 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.041, allocations: 310.8 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/1.041, allocations: 0 / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/1.041, allocations: 4 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/1.042, allocations: 16.86 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.042, allocations: 0 / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001232/1.042, allocations: 41.67 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.042, allocations: 4 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.042, allocations: 0 / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.042, allocations: 3.938 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/1.042, allocations: 4 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.042, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/1.042, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/1.042, allocations: 0 / 1.171 GB, free: 292 kB / 0.8887 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 (1): * Single equations (assignments): 1 * 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.0001008/1.042, allocations: 109.9 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/1.042, allocations: 7.984 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/1.042, allocations: 48.64 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.042, allocations: 3.938 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.042, allocations: 0 / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/1.042, allocations: 77.11 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/1.042, allocations: 0 / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/1.042, allocations: 8.047 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/1.042, allocations: 4.031 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001084/1.042, allocations: 105 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002037/1.043, allocations: 214.6 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.327e-05/1.043, allocations: 4 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.756e-05/1.043, allocations: 75.28 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of Backend: time 5.81e-07/1.043, allocations: 4.062 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007516/1.044, allocations: 118.3 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004612/1.044, allocations: 0.5214 MB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.005197/1.049, allocations: 1.067 MB / 1.173 GB, free: 13.82 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches