Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_9_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.001164/0.001164, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001178/0.001178, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.51/2.51, allocations: 390.2 MB / 0.665 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 67.91 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7748, allocations: 140.4 MB / 0.9498 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003823/0.7786, allocations: 1.499 MB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.7793, allocations: 387.5 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.7794, allocations: 0 / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.7794, allocations: 0 / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.203e-05/0.7795, allocations: 5.312 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.7799, allocations: 103.8 kB / 0.9517 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.78, allocations: 22.94 kB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.7801, allocations: 6.734 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.7801, allocations: 12.06 kB / 0.9517 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.7802, allocations: 10.73 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.7802, allocations: 2.75 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003461/0.7806, allocations: 275.8 kB / 0.952 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.7806, allocations: 17.25 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.7806, allocations: 10.41 kB / 0.952 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.7808, allocations: 67.03 kB / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7808, allocations: 0 / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7808, allocations: 0 / 0.9521 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7808, allocations: 0 / 0.9521 GB, free: 7.34 MB / 0.7169 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.00042/0.7813, allocations: 358.3 kB / 0.9524 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.7813, allocations: 9.094 kB / 0.9525 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.7814, allocations: 5.938 kB / 0.9525 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.796e-05/0.7815, allocations: 183.2 kB / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.7815, allocations: 384 / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.7815, allocations: 1.594 kB / 0.9526 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.7817, allocations: 54.62 kB / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7817, allocations: 192 / 0.9527 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7817, allocations: 3.938 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7818, allocations: 1.688 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.7819, allocations: 29.88 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.7822, allocations: 254.6 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.7823, allocations: 43.62 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.588e-05/0.7824, allocations: 22.89 kB / 0.953 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.7831, allocations: 461.4 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.7831, allocations: 34.5 kB / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.7832, allocations: 0 / 0.9535 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003973/0.7836, allocations: 98.89 kB / 0.9536 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.7836, allocations: 51.41 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.7837, allocations: 113.7 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.7837, allocations: 25.7 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.7837, allocations: 81.52 kB / 0.9539 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.7838, allocations: 8.969 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.7838, allocations: 20.42 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.7839, allocations: 312.1 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.784, allocations: 16.98 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.784, allocations: 14.36 kB / 0.9542 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.7842, allocations: 43.81 kB / 0.9543 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7842, allocations: 4.062 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.7844, allocations: 73.38 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.7844, allocations: 5.438 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.7845, allocations: 0.9375 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7845, allocations: 0 / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.7846, allocations: 5.906 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.7846, allocations: 1.438 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.7846, allocations: 11.17 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.7846, allocations: 1.062 kB / 0.9544 GB, free: 4.988 MB / 0.7169 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 6.409e-05/0.7847, allocations: 115.1 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.7848, allocations: 2.75 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.785, allocations: 76.14 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.785, allocations: 0 / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.785, allocations: 5.094 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.7851, allocations: 4.031 kB / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7852, allocations: 158.8 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.7852, allocations: 0 / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.7853, allocations: 11.11 kB / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7853, allocations: 0 / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7853, allocations: 0 / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7853, allocations: 1.375 kB / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7853, allocations: 0 / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.7855, allocations: 172 kB / 0.9549 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.7856, allocations: 82.39 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.7856, allocations: 5.422 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.7856, allocations: 2.812 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.7857, allocations: 1.344 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.7857, allocations: 5.797 kB / 0.955 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.7857, allocations: 87.47 kB / 0.9551 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.062e-06/0.7858, allocations: 4.031 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002985/0.7861, allocations: 20.5 kB / 0.9551 GB, free: 4.234 MB / 0.7169 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.0002125/0.7863, allocations: 116.3 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.7865, allocations: 33.53 kB / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7865, allocations: 0 / 0.9552 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.105e-05/0.7866, allocations: 23.64 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.787, allocations: 11.95 kB / 0.9553 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.7873, allocations: 145.4 kB / 0.9554 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.7875, allocations: 0.6808 MB / 0.9561 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.7875, allocations: 14.2 kB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7875, allocations: 0 / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of Templates: time 0.002898/0.7904, allocations: 0.7055 MB / 0.9568 GB, free: 2.883 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches