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.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001838/0.001838, allocations: 191.2 kB / 16.13 MB, free: 6.699 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.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.594/2.594, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6853, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001928/0.6872, allocations: 0.6509 MB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.688, allocations: 354.8 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.085e-05/0.688, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.688, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.6881, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.6884, allocations: 83.08 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.748e-05/0.6885, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.6885, allocations: 7.938 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.6885, allocations: 3.984 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.248e-05/0.6886, allocations: 3.984 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.6886, allocations: 3.938 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.689, allocations: 271.7 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.689, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.689, allocations: 0 / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.6892, allocations: 91.86 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6892, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6892, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.6892, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.7637 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.0003256/0.6896, allocations: 333.4 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.6896, allocations: 15.98 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.6897, allocations: 4.844 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.005e-05/0.6898, allocations: 164.4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.6898, allocations: 384 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.6898, allocations: 384 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.6899, allocations: 38.27 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6899, allocations: 192 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.6899, allocations: 3.938 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.69, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.83e-05/0.69, allocations: 3.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.6901, allocations: 145.7 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.288e-05/0.6902, allocations: 14.58 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.6902, allocations: 12.84 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.6907, allocations: 425.6 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.6907, allocations: 30.56 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6907, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.6909, allocations: 45.67 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.6909, allocations: 55.44 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.287e-05/0.6909, allocations: 89.86 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.691, allocations: 25.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.691, allocations: 84.12 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.691, allocations: 0 / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.6911, allocations: 17.7 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6912, allocations: 314.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.6912, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.6912, allocations: 8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.16e-05/0.6912, allocations: 4.859 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6912, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.205e-05/0.6913, allocations: 37.64 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6913, allocations: 5.562 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6913, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.6913, allocations: 3.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.6914, allocations: 7.984 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6914, allocations: 12.02 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.6914, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.6914, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 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.0001064/0.6915, allocations: 109.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.6916, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.6917, allocations: 44.69 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6917, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6917, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6917, allocations: 4.031 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.6918, allocations: 141.7 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6918, allocations: 4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.6919, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6919, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.6919, allocations: 7.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6919, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6919, allocations: 7.984 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.238e-05/0.692, allocations: 57.14 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.692, allocations: 77.11 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.6921, allocations: 3.938 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-06/0.6921, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.6921, allocations: 3.984 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.6921, allocations: 3.938 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.6921, allocations: 75.28 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6921, allocations: 0 / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000208/0.6924, allocations: 13.97 kB / 1.02 GB, free: 14.52 MB / 0.7794 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 (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 Backend phase and start with SimCode phase: time 0.0002232/0.6926, allocations: 119.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.6927, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6927, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.6927, allocations: 7.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.6928, allocations: 3.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.693, allocations: 78.61 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.6933, allocations: 0.6733 MB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.744e-05/0.6933, allocations: 4 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.302e-05/0.6933, allocations: 7.438 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of SimCode: time 1.904e-06/0.6933, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.002529/0.6958, allocations: 456.4 kB / 1.022 GB, free: 13.12 MB / 0.7794 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/jenkins/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