Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001847/0.001847, allocations: 80.83 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.002147/0.002147, allocations: 165.3 kB / 22.46 MB, free: 5.355 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.551/1.551, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.721/2.721, allocations: 359 MB / 0.6037 GB, free: 14.98 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.06e-06/5.06e-06, allocations: 4 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.337e-05, allocations: 6.219 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002832/0.002865, allocations: 1.458 MB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.003671, allocations: 354.8 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.003713, allocations: 0 / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.003741, allocations: 0 / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.003787, allocations: 11.86 kB / 0.9528 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.004358, allocations: 114.8 kB / 0.9529 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.004448, allocations: 27.92 kB / 0.9529 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.004548, allocations: 11.98 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.004606, allocations: 11.94 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.004644, allocations: 7.984 kB / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.004659, allocations: 0 / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.005105, allocations: 263.6 kB / 0.9532 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.005126, allocations: 11.98 kB / 0.9532 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.005149, allocations: 7.938 kB / 0.9532 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.005419, allocations: 135.6 kB / 0.9533 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005422, allocations: 0 / 0.9533 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005423, allocations: 0 / 0.9533 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.005427, allocations: 0 / 0.9533 GB, free: 9.172 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005485/0.005976, allocations: 282.1 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.006017, allocations: 12.03 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.006076, allocations: 4.891 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.006214, allocations: 117.7 kB / 0.9537 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.006224, allocations: 8.312 kB / 0.9537 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.006239, allocations: 384 / 0.9537 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.006427, allocations: 50.23 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.006437, allocations: 4.188 kB / 0.9538 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.006446, allocations: 4.312 kB / 0.9538 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00645, allocations: 384 / 0.9538 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.00663, allocations: 39.84 kB / 0.9538 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.006948, allocations: 192.6 kB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.007089, allocations: 42.5 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.007203, allocations: 28.89 kB / 0.9541 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/0.007756, allocations: 75.92 kB / 0.9541 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.007793, allocations: 42.55 kB / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.007794, allocations: 0 / 0.9542 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004218/0.008216, allocations: 85.53 kB / 0.9543 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.008252, allocations: 51.41 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.008347, allocations: 109.8 kB / 0.9544 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.008367, allocations: 29.7 kB / 0.9544 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.008416, allocations: 84.27 kB / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.008438, allocations: 7.953 kB / 0.9545 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.008476, allocations: 13.72 kB / 0.9545 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.00862, allocations: 318.8 kB / 0.9549 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.108e-05/0.008711, allocations: 15.98 kB / 0.9549 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.008787, allocations: 11.98 kB / 0.9549 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.008954, allocations: 41.12 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008956, allocations: 4 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002318/0.009188, allocations: 69.67 kB / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.009204, allocations: 8 kB / 0.955 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.00921, allocations: 3.938 kB / 0.955 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.009229, allocations: 3.938 kB / 0.955 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.009315, allocations: 7.984 kB / 0.955 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.00932, allocations: 4 kB / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.009374, allocations: 12.02 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.009379, allocations: 0 / 0.955 GB, free: 7.246 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 (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 8.453e-05/0.009464, allocations: 105.8 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.009511, allocations: 11.95 kB / 0.9551 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.00976, allocations: 73.22 kB / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009762, allocations: 0 / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.009766, allocations: 0 / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.009768, allocations: 0 / 0.9552 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.009914, allocations: 109.3 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009915, allocations: 3.938 kB / 0.9553 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.009978, allocations: 11.98 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.009981, allocations: 0 / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.009987, allocations: 0 / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.009993, allocations: 11.86 kB / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009994, allocations: 0 / 0.9553 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.01028, allocations: 168.1 kB / 0.9555 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.01029, allocations: 3.953 kB / 0.9555 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.01031, allocations: 4.031 kB / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.01039, allocations: 11.92 kB / 0.9555 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.01043, allocations: 4 kB / 0.9555 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.01043, allocations: 0 / 0.9555 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.01048, allocations: 87.27 kB / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01048, allocations: 0 / 0.9556 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002437/0.01072, allocations: 15.94 kB / 0.9556 GB, free: 6.574 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 (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.0001995/0.01092, allocations: 107.2 kB / 0.9557 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01115, allocations: 47.91 kB / 0.9558 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01115, allocations: 0 / 0.9558 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.129e-05/0.01125, allocations: 15.98 kB / 0.9558 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01155, allocations: 11.98 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.01185, allocations: 116.8 kB / 0.9559 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.01191, allocations: 59.34 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.386e-05/0.01193, allocations: 8.125 kB / 0.956 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.01196, allocations: 8.5 kB / 0.956 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.01196, allocations: 0 / 0.956 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of Templates: time 0.003631/0.01559, allocations: 0.7579 MB / 0.9567 GB, free: 5.402 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.818082228302956]