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.001124/0.001124, 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.001204/0.001204, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.439/2.439, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7915/0.7927, allocations: 140.4 MB / 0.9489 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002685/0.7955, allocations: 1.507 MB / 0.9504 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007863/0.7963, allocations: 417.4 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.7963, allocations: 1.219 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.7964, allocations: 7.922 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-05/0.7964, allocations: 1.5 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.7968, allocations: 67.59 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.538e-05/0.7968, allocations: 26.39 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.7969, allocations: 7.094 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.797, allocations: 12.09 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.797, allocations: 14.72 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.7971, allocations: 1.094 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.7974, allocations: 271.2 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.7975, allocations: 13.36 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.7975, allocations: 5.156 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.7977, allocations: 103.9 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7977, allocations: 0 / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7977, allocations: 0 / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7977, allocations: 1.25 kB / 0.9513 GB, free: 7.422 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.0004553/0.7982, allocations: 364.7 kB / 0.9516 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7982, allocations: 14.06 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.7983, allocations: 6.219 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7984, allocations: 177.6 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.7984, allocations: 1.594 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.7985, allocations: 1.719 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.7986, allocations: 49.67 kB / 0.9519 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7987, allocations: 4.188 kB / 0.9519 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7987, allocations: 5.156 kB / 0.9519 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7987, allocations: 0 / 0.9519 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.7989, allocations: 31.72 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.7992, allocations: 254.1 kB / 0.9521 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.7993, allocations: 43.69 kB / 0.9522 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.7994, allocations: 23.77 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.8, allocations: 458.9 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.8001, allocations: 35.62 kB / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8001, allocations: 0 / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003864/0.8005, allocations: 90.39 kB / 0.9528 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.8005, allocations: 52.81 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.8006, allocations: 109.5 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.8006, allocations: 25.7 kB / 0.9529 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.8006, allocations: 82.2 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.8007, allocations: 11.89 kB / 0.953 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.8007, allocations: 16.34 kB / 0.9531 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.8008, allocations: 312.2 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.8008, allocations: 16.45 kB / 0.9534 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.8009, allocations: 18.42 kB / 0.9534 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.8011, allocations: 43.72 kB / 0.9534 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8011, allocations: 0 / 0.9534 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002393/0.8013, allocations: 74.28 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8014, allocations: 5.625 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8014, allocations: 4.094 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8014, allocations: 0 / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.8015, allocations: 7.344 kB / 0.9535 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.8015, allocations: 3.984 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.8015, allocations: 2.781 kB / 0.9535 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.8015, allocations: 1.594 kB / 0.9535 GB, free: 5.074 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.412e-05/0.8016, allocations: 115 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.8017, allocations: 2.625 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.8019, allocations: 83.86 kB / 0.9537 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8019, allocations: 1.188 kB / 0.9537 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8019, allocations: 4 kB / 0.9537 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8019, allocations: 0 / 0.9537 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.802, allocations: 162.8 kB / 0.9539 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8021, allocations: 4.891 kB / 0.9539 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.8021, allocations: 6.375 kB / 0.9539 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8021, allocations: 0 / 0.9539 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.8021, allocations: 4.906 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.8021, allocations: 0 / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8022, allocations: 0.9375 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.8024, allocations: 168.5 kB / 0.9541 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.8024, allocations: 82.09 kB / 0.9541 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.8024, allocations: 0.9375 kB / 0.9541 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.8025, allocations: 7.625 kB / 0.9541 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.8026, allocations: 5.203 kB / 0.9541 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.8026, allocations: 5.5 kB / 0.9541 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.782e-05/0.8026, allocations: 83.31 kB / 0.9542 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8026, allocations: 3.938 kB / 0.9542 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002307/0.8028, allocations: 12.38 kB / 0.9542 GB, free: 4.32 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.0001891/0.803, allocations: 115.8 kB / 0.9544 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.8033, allocations: 38.28 kB / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8033, allocations: 0 / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.652e-05/0.8034, allocations: 24.09 kB / 0.9544 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.8037, allocations: 9.812 kB / 0.9544 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.804, allocations: 124.7 kB / 0.9545 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.8041, allocations: 0.6781 MB / 0.9552 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.8041, allocations: 1.438 kB / 0.9552 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.8041, allocations: 8.781 kB / 0.9552 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8042, allocations: 0 / 0.9552 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.002999/0.8072, allocations: 0.6507 MB / 0.9558 GB, free: 3.02 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches