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.001434/0.001434, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001553/0.001553, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476 MB / 0.7707 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 72.95 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3275, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001846/0.3293, allocations: 0.595 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.3301, allocations: 291.1 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.3301, allocations: 4 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.3301, allocations: 3.938 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.3301, allocations: 0 / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.3306, allocations: 107.6 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.3306, allocations: 4 kB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.3307, allocations: 0 / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.3307, allocations: 0 / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.3307, allocations: 7.922 kB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.3307, allocations: 0 / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.3312, allocations: 259.7 kB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.3312, allocations: 0 / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.3312, allocations: 0 / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3314, allocations: 91.73 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3314, allocations: 4 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3314, allocations: 0 / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3314, allocations: 0 / 1.285 GB, free: 10.58 MB / 0.9825 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.0003653/0.3318, allocations: 258.2 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3318, allocations: 12.03 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3319, allocations: 0.9375 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.332, allocations: 106.5 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.332, allocations: 4.359 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.332, allocations: 384 / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.3321, allocations: 34.2 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3322, allocations: 192 / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3322, allocations: 7.938 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3322, allocations: 0 / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.3322, allocations: 4 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.3323, allocations: 97.33 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.3324, allocations: 18.61 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.3324, allocations: 16.72 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/0.3328, allocations: 40.03 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.3328, allocations: 34.56 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3328, allocations: 0 / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.333, allocations: 41.56 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.333, allocations: 55.41 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.3331, allocations: 93.86 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3331, allocations: 25.7 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.3331, allocations: 84.12 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3332, allocations: 3.953 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.3332, allocations: 9.719 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3333, allocations: 319 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.3333, allocations: 0 / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.3333, allocations: 3.938 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.3334, allocations: 12.86 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3334, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.275e-05/0.3335, allocations: 37.69 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3335, allocations: 4 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3335, allocations: 0 / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3335, allocations: 0 / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.3335, allocations: 8.031 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3335, allocations: 4 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-06/0.3336, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.3336, allocations: 4 kB / 1.286 GB, free: 9.09 MB / 0.9825 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.427e-05/0.3336, allocations: 109.8 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3337, allocations: 4 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.3338, allocations: 44.67 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3338, allocations: 3.938 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3338, allocations: 0 / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3338, allocations: 4.031 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.3339, allocations: 97.33 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3339, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.3339, allocations: 3.984 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3339, allocations: 0 / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3339, allocations: 3.938 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3339, allocations: 0 / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.3339, allocations: 7.938 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.909e-05/0.334, allocations: 57.08 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.334, allocations: 4 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.334, allocations: 4.016 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.334, allocations: 4 kB / 1.287 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.3341, allocations: 3.938 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3341, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.3341, allocations: 75.28 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3341, allocations: 4 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002093/0.3343, allocations: 11.94 kB / 1.287 GB, free: 8.594 MB / 0.9825 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.0001795/0.3345, allocations: 111.2 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.721e-05/0.3346, allocations: 8 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3346, allocations: 4.062 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-06/0.3346, allocations: 3.938 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.3347, allocations: 6.031 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.335, allocations: 104.1 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.335, allocations: 59.34 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.3351, allocations: 7.438 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3351, allocations: 0 / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of Templates: time 0.002227/0.3373, allocations: 473.4 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.316154744010419]