Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001623/0.001623, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.001933/0.001933, allocations: 154.9 kB / 23.01 MB, free: 4.961 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.503/1.503, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.848/2.848, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002276/0.002276, allocations: 76.12 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8358, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0017/0.8375, allocations: 0.593 MB / 1.187 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000625/0.8381, allocations: 295.5 kB / 1.188 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.8381, allocations: 5.375 kB / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.8381, allocations: 0 / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.8382, allocations: 0 / 1.188 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.8387, allocations: 107.7 kB / 1.188 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.809e-05/0.8387, allocations: 6.797 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.8387, allocations: 1.656 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.101e-05/0.8387, allocations: 0 / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.918e-05/0.8388, allocations: 1.094 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.8388, allocations: 4 kB / 1.188 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.8392, allocations: 256.6 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.8392, allocations: 5.328 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.8392, allocations: 0 / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.8394, allocations: 88.2 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8394, allocations: 0.5156 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8394, allocations: 0 / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8394, allocations: 5.188 kB / 1.188 GB, free: 15.54 MB / 1.076 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.0002397/0.8397, allocations: 254.8 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.8397, allocations: 10.08 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.8397, allocations: 2.5 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.777e-05/0.8398, allocations: 111.2 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8398, allocations: 1.719 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.8398, allocations: 384 / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.592e-05/0.8399, allocations: 30.31 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.8399, allocations: 192 / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.8399, allocations: 3.938 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.8399, allocations: 1.344 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.723e-05/0.8399, allocations: 6 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.728e-05/0.84, allocations: 95.3 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.487e-05/0.84, allocations: 25.62 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.84, allocations: 9.953 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.8404, allocations: 45.23 kB / 1.189 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8404, allocations: 31.97 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.8404, allocations: 0 / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0001284/0.8405, allocations: 40.22 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.8406, allocations: 53.53 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.854e-05/0.8406, allocations: 93.98 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.8406, allocations: 25.7 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.101e-05/0.8406, allocations: 86.23 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.8406, allocations: 3.938 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.8406, allocations: 13.09 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.552e-05/0.8407, allocations: 311.5 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.8407, allocations: 1.406 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.8407, allocations: 2.094 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.037e-05/0.8407, allocations: 11.61 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8407, allocations: 64 / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.416e-05/0.8408, allocations: 44.67 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.8408, allocations: 10.22 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.8408, allocations: 0 / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.8408, allocations: 1.438 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.608e-05/0.8408, allocations: 5.969 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.8408, allocations: 0 / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-06/0.8408, allocations: 1.375 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.8409, allocations: 0.6562 kB / 1.189 GB, free: 14.17 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 (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 3.633e-05/0.8409, allocations: 108.8 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.8409, allocations: 4.031 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.841, allocations: 40.58 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.841, allocations: 5.094 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.841, allocations: 0 / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.841, allocations: 0.5625 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.382e-05/0.841, allocations: 95.95 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.841, allocations: 4.609 kB / 1.189 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.841, allocations: 5.562 kB / 1.189 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.841, allocations: 2.141 kB / 1.189 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-06/0.841, allocations: 0 / 1.189 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.841, allocations: 4.031 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.841, allocations: 6.219 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.068e-05/0.8411, allocations: 58.48 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.8411, allocations: 0.7031 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.8411, allocations: 1.312 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.8411, allocations: 0 / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.8411, allocations: 6.203 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.8411, allocations: 1.031 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.658e-06/0.8411, allocations: 75.28 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8411, allocations: 0 / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001943/0.8413, allocations: 13.75 kB / 1.19 GB, free: 13.73 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 (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.0001295/0.8415, allocations: 113 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.678e-05/0.8415, allocations: 7.969 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8415, allocations: 1.125 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.251e-06/0.8415, allocations: 4.969 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.8417, allocations: 8.766 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.8418, allocations: 80.56 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.523e-05/0.8419, allocations: 54.28 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.584e-05/0.8419, allocations: 5.953 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/0.8419, allocations: 9.594 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8419, allocations: 0 / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of Templates: time 0.002695/0.8446, allocations: 462 kB / 1.19 GB, free: 13.37 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.554382292088121]