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.001566/0.001566, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00166/0.00166, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.647/2.647, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 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.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: 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.002136/0.002136, allocations: 63.89 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2865, allocations: 169.9 MB / 1.117 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002508/0.289, allocations: 1.46 MB / 1.119 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007091/0.2897, allocations: 362.8 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.2898, allocations: 0 / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.2898, allocations: 0 / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.2898, allocations: 3.938 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.2903, allocations: 123.5 kB / 1.119 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.2903, allocations: 16 kB / 1.119 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.006e-05/0.2904, allocations: 11.92 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.749e-05/0.2904, allocations: 15.92 kB / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.223e-05/0.2905, allocations: 11.98 kB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.2905, allocations: 0 / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003971/0.2909, allocations: 267.6 kB / 1.12 GB, free: 368 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2909, allocations: 4 kB / 1.12 GB, free: 364 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.2909, allocations: 7.922 kB / 1.12 GB, free: 356 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2911, allocations: 107.7 kB / 1.12 GB, free: 248 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2911, allocations: 4 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2911, allocations: 0 / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2911, allocations: 3.938 kB / 1.12 GB, free: 240 kB / 1.061 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.0004514/0.2916, allocations: 294 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2916, allocations: 12.03 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.2916, allocations: 4.891 kB / 1.12 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.2917, allocations: 106.5 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.2918, allocations: 384 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.2918, allocations: 384 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2919, allocations: 50.23 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2919, allocations: 192 / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2919, allocations: 7.875 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.292, allocations: 7.984 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2921, allocations: 35.95 kB / 1.12 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.2924, allocations: 192.6 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.2925, allocations: 38.59 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.2926, allocations: 20.91 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/0.2931, allocations: 87.84 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2932, allocations: 34.5 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2932, allocations: 0 / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003689/0.2935, allocations: 89.69 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2936, allocations: 55.44 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.2937, allocations: 101.9 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2937, allocations: 25.7 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.2937, allocations: 92.06 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.2938, allocations: 3.953 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2938, allocations: 13.72 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2939, allocations: 310.8 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.294, allocations: 19.98 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.2941, allocations: 23.97 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.2942, allocations: 44.7 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2943, allocations: 0 / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002178/0.2945, allocations: 69.59 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2945, allocations: 10.81 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2945, allocations: 0 / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2945, allocations: 4.094 kB / 1.121 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.2946, allocations: 8.234 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2946, allocations: 0 / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.2946, allocations: 8 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2946, allocations: 7.984 kB / 1.121 GB, free: 14.32 MB / 1.076 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 7.927e-05/0.2947, allocations: 113.8 kB / 1.122 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.2948, allocations: 11.89 kB / 1.122 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.295, allocations: 73.22 kB / 1.122 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.295, allocations: 8.031 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.295, allocations: 3.938 kB / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.295, allocations: 0 / 1.122 GB, free: 14.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2951, allocations: 105.3 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2951, allocations: 0 / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.2952, allocations: 11.98 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2952, allocations: 3.938 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2952, allocations: 0 / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2952, allocations: 0 / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2952, allocations: 0 / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2955, allocations: 171.5 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.2955, allocations: 3.938 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-06/0.2955, allocations: 0 / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.208e-05/0.2956, allocations: 7.984 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2956, allocations: 0 / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2956, allocations: 4 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.2956, allocations: 83.28 kB / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.2956, allocations: 0 / 1.122 GB, free: 13.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002386/0.2959, allocations: 23.95 kB / 1.122 GB, free: 13.64 MB / 1.076 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.0001371/0.296, allocations: 103.2 kB / 1.122 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2962, allocations: 35.95 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2962, allocations: 0 / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.2963, allocations: 27.86 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2966, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.2968, allocations: 113.5 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.2969, allocations: 63.34 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.2969, allocations: 0 / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.2969, allocations: 12.5 kB / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.2969, allocations: 0 / 1.122 GB, free: 13.23 MB / 1.076 GB Notification: Performance of Templates: time 0.002967/0.2999, allocations: 0.7511 MB / 1.123 GB, free: 12.49 MB / 1.076 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 -s ida -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/jenkins1/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: 8.022292930050753]