Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002082/0.002082, allocations: 116.6 kB / 17.13 MB, free: 6.027 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.002667/0.002667, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.022/3.022, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002109/0.002109, allocations: 67.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 176.1 MB / 1.322 GB, free: 25.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001639/1.076, allocations: 0.5853 MB / 1.323 GB, free: 24.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006288/1.077, allocations: 334.6 kB / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/1.077, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/1.077, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/1.077, allocations: 0 / 1.323 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/1.077, allocations: 116 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.915e-05/1.077, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/1.077, allocations: 2.219 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/1.077, allocations: 3.984 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.099e-05/1.077, allocations: 0 / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/1.077, allocations: 3 kB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/1.078, allocations: 273 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/1.078, allocations: 0 / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/1.078, allocations: 3.938 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/1.078, allocations: 97.33 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.078, allocations: 0 / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.392e-06/1.078, allocations: 0 / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.663e-06/1.078, allocations: 0 / 1.323 GB, free: 24.57 MB / 1.061 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.0002846/1.078, allocations: 335.2 kB / 1.324 GB, free: 24.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.078, allocations: 12.67 kB / 1.324 GB, free: 24.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/1.078, allocations: 0.9375 kB / 1.324 GB, free: 24.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.077e-05/1.078, allocations: 170.6 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/1.078, allocations: 384 / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/1.078, allocations: 384 / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.839e-05/1.078, allocations: 33.08 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.078, allocations: 192 / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/1.078, allocations: 7.875 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.078, allocations: 0 / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/1.078, allocations: 2.719 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/1.078, allocations: 153.2 kB / 1.324 GB, free: 23.76 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/1.078, allocations: 17.23 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/1.078, allocations: 8.859 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/1.079, allocations: 424.1 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.079, allocations: 33.84 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/1.079, allocations: 0 / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/1.079, allocations: 38.95 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/1.079, allocations: 55.41 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.022e-05/1.079, allocations: 92.61 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/1.079, allocations: 25.7 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.181e-05/1.079, allocations: 84.14 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/1.079, allocations: 3.953 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/1.079, allocations: 15.42 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.259e-05/1.079, allocations: 314.8 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/1.079, allocations: 4 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-06/1.079, allocations: 2.719 kB / 1.325 GB, free: 22.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/1.079, allocations: 7.328 kB / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.079, allocations: 0 / 1.325 GB, free: 22.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.515e-05/1.079, allocations: 38.98 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.079, allocations: 10.58 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.079, allocations: 0 / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.079, allocations: 6.875 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.851e-05/1.079, allocations: 3.984 kB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.079, allocations: 4.094 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-06/1.079, allocations: 0 / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/1.079, allocations: 2.438 kB / 1.325 GB, free: 22.49 MB / 1.061 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 4.096e-05/1.079, allocations: 105.8 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/1.079, allocations: 2.594 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.373e-05/1.08, allocations: 45.88 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/1.08, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.08, allocations: 32 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/1.08, allocations: 7.938 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.566e-05/1.08, allocations: 145 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.08, allocations: 0 / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/1.08, allocations: 2.812 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/1.08, allocations: 0 / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/1.08, allocations: 7.938 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.08, allocations: 3.031 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.08, allocations: 0 / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.379e-05/1.08, allocations: 65.91 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/1.08, allocations: 77.11 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/1.08, allocations: 6.344 kB / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/1.08, allocations: 0 / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/1.08, allocations: 0 / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/1.08, allocations: 0 / 1.326 GB, free: 21.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.104e-05/1.08, allocations: 75.28 kB / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.08, allocations: 0 / 1.326 GB, free: 21.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001933/1.08, allocations: 17.2 kB / 1.326 GB, free: 21.88 MB / 1.061 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.0001632/1.08, allocations: 123.6 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/1.08, allocations: 2.875 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/1.08, allocations: 0 / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/1.08, allocations: 6.094 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/1.08, allocations: 4 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001634/1.08, allocations: 106.7 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/1.081, allocations: 0.6691 MB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/1.081, allocations: 14.62 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.081, allocations: 0 / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of Templates: time 0.002008/1.083, allocations: 467.7 kB / 1.327 GB, free: 20.92 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.681505956003093]