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.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.474/2.474, allocations: 390.2 MB / 0.6646 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.14 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9018/0.9032, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003795/0.9071, allocations: 1.435 MB / 0.951 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.908, allocations: 384.9 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.9081, allocations: 0 / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.9082, allocations: 1.344 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.496e-05/0.9082, allocations: 11.92 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.9089, allocations: 112.1 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.613e-05/0.909, allocations: 21.61 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.9091, allocations: 7.219 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.9092, allocations: 12.27 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.338e-05/0.9092, allocations: 6.719 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.9092, allocations: 3 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.9097, allocations: 283.2 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.9097, allocations: 9.469 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.9098, allocations: 10.59 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.9101, allocations: 107.6 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.9101, allocations: 0 / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9101, allocations: 0 / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.9101, allocations: 0 / 0.9519 GB, free: 7.43 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.0005797/0.9107, allocations: 365.9 kB / 0.9522 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.9108, allocations: 8.562 kB / 0.9523 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.9108, allocations: 11.44 kB / 0.9523 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.911, allocations: 170.4 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.911, allocations: 4.312 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.911, allocations: 1.562 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.9112, allocations: 50.8 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.9113, allocations: 192 / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.9113, allocations: 3.938 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.9113, allocations: 5.328 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.9115, allocations: 39.23 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.9119, allocations: 250.4 kB / 0.9528 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.912, allocations: 44.45 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.9121, allocations: 21.72 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.9128, allocations: 460.5 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.9128, allocations: 32.06 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.9128, allocations: 4 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004177/0.9132, allocations: 88.89 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.9133, allocations: 53.06 kB / 0.9534 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.9133, allocations: 101.2 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.9133, allocations: 25.7 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.9134, allocations: 89.69 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.9134, allocations: 9.5 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.9134, allocations: 15 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.666e-05/0.9135, allocations: 316.7 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.9136, allocations: 16.84 kB / 0.954 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.9137, allocations: 18.36 kB / 0.954 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.9138, allocations: 39.73 kB / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9138, allocations: 0 / 0.954 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.914, allocations: 74.5 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.9141, allocations: 4.875 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9141, allocations: 0 / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.9141, allocations: 1.281 kB / 0.9541 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.9142, allocations: 9.891 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.9142, allocations: 4.031 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.9142, allocations: 7.656 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.9143, allocations: 1.219 kB / 0.9541 GB, free: 5.082 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 5.59e-05/0.9143, allocations: 115.1 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.9144, allocations: 2.469 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.9146, allocations: 76.47 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9146, allocations: 4.031 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9146, allocations: 256 / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9146, allocations: 1 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9147, allocations: 171.2 kB / 0.9545 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9147, allocations: 0 / 0.9545 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.9148, allocations: 10.55 kB / 0.9545 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9148, allocations: 3.938 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.9148, allocations: 1.156 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9148, allocations: 0 / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9148, allocations: 0 / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.9151, allocations: 172.5 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.9151, allocations: 77.98 kB / 0.9547 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.9151, allocations: 1.094 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.9152, allocations: 7.641 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.9152, allocations: 1.438 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.9152, allocations: 1.719 kB / 0.9548 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.9153, allocations: 91.12 kB / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9153, allocations: 0 / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002397/0.9155, allocations: 20.92 kB / 0.9549 GB, free: 4.324 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.0001777/0.9157, allocations: 111.5 kB / 0.955 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.9159, allocations: 41.55 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.916, allocations: 1.25 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.916, allocations: 19.8 kB / 0.955 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.9164, allocations: 10.62 kB / 0.955 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.9167, allocations: 110.8 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.9169, allocations: 0.6803 MB / 0.9558 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.9169, allocations: 6.25 kB / 0.9558 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.9169, allocations: 8.5 kB / 0.9558 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.9169, allocations: 0 / 0.9558 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.003364/0.9203, allocations: 0.7219 MB / 0.9565 GB, free: 2.996 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