Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_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.001518/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001988/0.001988, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.573/1.573, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.518/2.518, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9093/0.9105, allocations: 140.4 MB / 0.9489 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001807/0.9124, allocations: 0.6421 MB / 0.9496 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006333/0.913, allocations: 349.4 kB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.34e-05/0.913, allocations: 4.969 kB / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.9131, allocations: 0 / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-06/0.9131, allocations: 0 / 0.9499 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.9134, allocations: 70.91 kB / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.411e-05/0.9135, allocations: 1.094 kB / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.9135, allocations: 1.188 kB / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.9135, allocations: 5.031 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.255e-05/0.9136, allocations: 1.562 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.9136, allocations: 3.938 kB / 0.95 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.914, allocations: 277.8 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.914, allocations: 0 / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.914, allocations: 1.688 kB / 0.9502 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.9142, allocations: 85.88 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.9142, allocations: 0.9688 kB / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9142, allocations: 0 / 0.9503 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.9142, allocations: 0 / 0.9503 GB, free: 8.266 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002503/0.9145, allocations: 345.2 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9145, allocations: 7.969 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.9146, allocations: 2.5 kB / 0.9507 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.9147, allocations: 168.4 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.9147, allocations: 384 / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.9147, allocations: 1.906 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.9148, allocations: 31.5 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.9148, allocations: 1.406 kB / 0.9509 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.9148, allocations: 3.938 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.9148, allocations: 4 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.9148, allocations: 5.469 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.9149, allocations: 143.2 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.915, allocations: 19.92 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.915, allocations: 6.797 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.9154, allocations: 429.4 kB / 0.9514 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.9155, allocations: 34.55 kB / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.9155, allocations: 0 / 0.9515 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.9156, allocations: 39.36 kB / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.9157, allocations: 53.19 kB / 0.9516 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.242e-05/0.9157, allocations: 89.86 kB / 0.9517 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.9157, allocations: 25.83 kB / 0.9517 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.351e-05/0.9157, allocations: 84.14 kB / 0.9518 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.9157, allocations: 3.906 kB / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.9158, allocations: 16.31 kB / 0.9518 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.9158, allocations: 310.8 kB / 0.9521 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.9158, allocations: 1.25 kB / 0.9521 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-06/0.9158, allocations: 9.359 kB / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.114e-05/0.9159, allocations: 7.859 kB / 0.9521 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.9159, allocations: 4.062 kB / 0.9521 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.982e-05/0.916, allocations: 35.98 kB / 0.9521 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.916, allocations: 5.156 kB / 0.9521 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.916, allocations: 0 / 0.9521 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.916, allocations: 3.938 kB / 0.9521 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.916, allocations: 5.688 kB / 0.9521 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.9161, allocations: 1.656 kB / 0.9521 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.099e-05/0.9161, allocations: 4 kB / 0.9521 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.9161, allocations: 0 / 0.9521 GB, free: 6.164 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 (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 5.626e-05/0.9161, allocations: 115.3 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.9162, allocations: 1.125 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.9162, allocations: 45.5 kB / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.9163, allocations: 1.312 kB / 0.9523 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9163, allocations: 4 kB / 0.9523 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.9163, allocations: 3.938 kB / 0.9523 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.261e-05/0.9163, allocations: 151.1 kB / 0.9525 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9163, allocations: 0 / 0.9525 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.9164, allocations: 6.156 kB / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.9164, allocations: 0 / 0.9525 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.9164, allocations: 5.062 kB / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.9164, allocations: 0 / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9164, allocations: 1.25 kB / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.143e-05/0.9165, allocations: 55.5 kB / 0.9525 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.9165, allocations: 77.11 kB / 0.9526 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.9165, allocations: 9.219 kB / 0.9526 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.9165, allocations: 4.031 kB / 0.9526 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.9165, allocations: 1.188 kB / 0.9526 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.9165, allocations: 0 / 0.9526 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.9166, allocations: 76.5 kB / 0.9527 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.9166, allocations: 3.938 kB / 0.9527 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001926/0.9168, allocations: 8.094 kB / 0.9527 GB, free: 5.535 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 (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.0001725/0.9169, allocations: 115.3 kB / 0.9528 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.382e-05/0.917, allocations: 8 kB / 0.9528 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.917, allocations: 0 / 0.9528 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.917, allocations: 1.406 kB / 0.9528 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.9172, allocations: 1.344 kB / 0.9528 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001604/0.9173, allocations: 81.03 kB / 0.9529 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.9175, allocations: 0.6705 MB / 0.9535 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.9175, allocations: 1.25 kB / 0.9535 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.9175, allocations: 8.562 kB / 0.9536 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.9175, allocations: 4.125 kB / 0.9536 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.002445/0.92, allocations: 463.7 kB / 0.954 GB, free: 4.391 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches