Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 81.58 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.698/2.698, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.054e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002229/0.002259, allocations: 0.5879 MB / 0.9516 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008598/0.003119, allocations: 294.9 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.925e-05/0.003139, allocations: 0 / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.003159, allocations: 3.938 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.003165, allocations: 0 / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005742/0.00374, allocations: 111.6 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.244e-05/0.003782, allocations: 0 / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.003824, allocations: 4 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.003849, allocations: 4 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.436e-05/0.003874, allocations: 3.984 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.003885, allocations: 0 / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.004321, allocations: 259.6 kB / 0.9522 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.004334, allocations: 3.938 kB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.004356, allocations: 3.984 kB / 0.9523 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.004583, allocations: 115.7 kB / 0.9524 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.004589, allocations: 3.984 kB / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00459, allocations: 0 / 0.9524 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.004593, allocations: 0 / 0.9524 GB, free: 10.13 MB / 0.8575 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.0003303/0.004923, allocations: 256.6 kB / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.004961, allocations: 12.02 kB / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.005031, allocations: 4.938 kB / 0.9526 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.005134, allocations: 101.8 kB / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.005147, allocations: 384 / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.005159, allocations: 384 / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.005261, allocations: 38.2 kB / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.00527, allocations: 192 / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005278, allocations: 384 / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.005281, allocations: 384 / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.005304, allocations: 3.938 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.005431, allocations: 101.3 kB / 0.9529 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.005476, allocations: 18.56 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.005493, allocations: 8.953 kB / 0.9529 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003549/0.005848, allocations: 43.91 kB / 0.9529 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.005884, allocations: 38.5 kB / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.005885, allocations: 0 / 0.953 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.006049, allocations: 37.69 kB / 0.953 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.00609, allocations: 51.41 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.006139, allocations: 89.86 kB / 0.9531 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.006154, allocations: 29.7 kB / 0.9532 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.006196, allocations: 80.14 kB / 0.9532 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.00623, allocations: 4.078 kB / 0.9532 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.006259, allocations: 13.72 kB / 0.9533 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.006408, allocations: 318.8 kB / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.006418, allocations: 0 / 0.9536 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.006424, allocations: 3.938 kB / 0.9536 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.006457, allocations: 16.8 kB / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006459, allocations: 0 / 0.9536 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.977e-05/0.006539, allocations: 33.69 kB / 0.9536 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.006554, allocations: 8 kB / 0.9536 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.00656, allocations: 0 / 0.9536 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.006576, allocations: 4.094 kB / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.006619, allocations: 0 / 0.9536 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.006629, allocations: 8 kB / 0.9536 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.006642, allocations: 3.938 kB / 0.9536 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.006647, allocations: 3.938 kB / 0.9536 GB, free: 8.652 MB / 0.8575 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 8.266e-05/0.00673, allocations: 105.8 kB / 0.9537 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.006755, allocations: 0 / 0.9537 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.006857, allocations: 48.62 kB / 0.9538 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006859, allocations: 0 / 0.9538 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.006863, allocations: 4.031 kB / 0.9538 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006866, allocations: 0 / 0.9538 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.689e-05/0.006953, allocations: 97.27 kB / 0.9539 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.006958, allocations: 7.984 kB / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.006972, allocations: 0 / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.006974, allocations: 0 / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.00698, allocations: 0 / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.006982, allocations: 0 / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006983, allocations: 0 / 0.9539 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.688e-05/0.007079, allocations: 65.02 kB / 0.954 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.007089, allocations: 12.02 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.007099, allocations: 0 / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.007106, allocations: 0 / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.007125, allocations: 3.984 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.007128, allocations: 0 / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.007164, allocations: 75.28 kB / 0.954 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.007164, allocations: 0 / 0.954 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002032/0.007367, allocations: 12 kB / 0.9541 GB, free: 8.168 MB / 0.8575 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.0001971/0.007564, allocations: 115.1 kB / 0.9542 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.007636, allocations: 8 kB / 0.9542 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007638, allocations: 3.938 kB / 0.9542 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.007647, allocations: 4 kB / 0.9542 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.007779, allocations: 4 kB / 0.9542 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.008006, allocations: 88.8 kB / 0.9543 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.008058, allocations: 55.34 kB / 0.9543 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.008078, allocations: 7.984 kB / 0.9543 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.008097, allocations: 8.5 kB / 0.9543 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.008098, allocations: 0 / 0.9543 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.00306/0.01116, allocations: 473.1 kB / 0.9548 GB, free: 7.359 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.554871574044228]