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.001631/0.001631, allocations: 78.72 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.001791/0.001791, allocations: 167.5 kB / 22.46 MB, free: 5.363 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.781/2.781, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.9815 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.432e-05/3.63e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0024/0.002436, allocations: 0.583 MB / 0.9821 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.00337, allocations: 298.9 kB / 0.9823 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.003393, allocations: 0 / 0.9823 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.003415, allocations: 0 / 0.9823 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.947e-06/0.003424, allocations: 7.938 kB / 0.9824 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.004037, allocations: 103.6 kB / 0.9824 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.004085, allocations: 7.938 kB / 0.9825 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.284e-05/0.004138, allocations: 3.984 kB / 0.9825 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.004164, allocations: 0 / 0.9825 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.605e-05/0.00419, allocations: 4 kB / 0.9825 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.004205, allocations: 0 / 0.9825 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006273/0.004832, allocations: 255.6 kB / 0.9827 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.004847, allocations: 4 kB / 0.9827 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.004864, allocations: 4 kB / 0.9827 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.005164, allocations: 111.7 kB / 0.9828 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.005168, allocations: 0 / 0.9828 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005169, allocations: 0 / 0.9828 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.005176, allocations: 4 kB / 0.9828 GB, free: 9.473 MB / 0.8887 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.0004245/0.005601, allocations: 258.2 kB / 0.9831 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.005655, allocations: 8.031 kB / 0.9831 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.005725, allocations: 4.922 kB / 0.9831 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.005861, allocations: 105.8 kB / 0.9832 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.005874, allocations: 384 / 0.9832 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.005882, allocations: 4.375 kB / 0.9832 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.006007, allocations: 34.2 kB / 0.9832 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.006017, allocations: 192 / 0.9832 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.006027, allocations: 384 / 0.9832 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.006033, allocations: 384 / 0.9832 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.774e-05/0.006061, allocations: 7.938 kB / 0.9832 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.006226, allocations: 97.33 kB / 0.9833 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.789e-05/0.006284, allocations: 14.58 kB / 0.9833 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.006318, allocations: 12.84 kB / 0.9834 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.006786, allocations: 48 kB / 0.9834 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.006824, allocations: 34.5 kB / 0.9834 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.006826, allocations: 4 kB / 0.9834 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001754/0.007001, allocations: 37.69 kB / 0.9835 GB, free: 8.695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.007069, allocations: 51.41 kB / 0.9835 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.327e-05/0.007133, allocations: 89.86 kB / 0.9836 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.007153, allocations: 25.7 kB / 0.9836 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.007197, allocations: 84.27 kB / 0.9837 GB, free: 8.418 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.007253, allocations: 7.953 kB / 0.9837 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.007291, allocations: 13.66 kB / 0.9837 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.007518, allocations: 318.8 kB / 0.984 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.007532, allocations: 4 kB / 0.984 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-06/0.007539, allocations: 0 / 0.984 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.007582, allocations: 12.8 kB / 0.984 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007584, allocations: 0 / 0.984 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.007688, allocations: 33.69 kB / 0.9841 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.007704, allocations: 12.03 kB / 0.9841 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.00771, allocations: 4 kB / 0.9841 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.007724, allocations: 0 / 0.9841 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.007773, allocations: 0 / 0.9841 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007778, allocations: 0 / 0.9841 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.007796, allocations: 3.938 kB / 0.9841 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.007803, allocations: 4 kB / 0.9841 GB, free: 7.988 MB / 0.8887 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 0.0001143/0.007918, allocations: 105.8 kB / 0.9842 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.007951, allocations: 4 kB / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.008071, allocations: 44.62 kB / 0.9843 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008072, allocations: 4 kB / 0.9843 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.00808, allocations: 3.984 kB / 0.9843 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.008084, allocations: 0 / 0.9843 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.008197, allocations: 97.27 kB / 0.9844 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008198, allocations: 0 / 0.9844 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.947e-05/0.008217, allocations: 7.984 kB / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008219, allocations: 0 / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.008225, allocations: 0 / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008226, allocations: 0 / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008227, allocations: 0 / 0.9844 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.008359, allocations: 69.05 kB / 0.9844 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.008364, allocations: 0 / 0.9844 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.008379, allocations: 3.984 kB / 0.9844 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.101e-05/0.00839, allocations: 4 kB / 0.9844 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.008403, allocations: 0 / 0.9844 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.008405, allocations: 0 / 0.9844 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.008452, allocations: 75.28 kB / 0.9845 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.008452, allocations: 0 / 0.9845 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003305/0.008783, allocations: 8 kB / 0.9845 GB, free: 7.504 MB / 0.8887 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.0002553/0.009038, allocations: 127.6 kB / 0.9846 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.009126, allocations: 8 kB / 0.9846 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009129, allocations: 0 / 0.9846 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.009137, allocations: 0 / 0.9846 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.009336, allocations: 4 kB / 0.9846 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.009608, allocations: 80.8 kB / 0.9847 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.666e-05/0.009684, allocations: 55.36 kB / 0.9848 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.009705, allocations: 3.984 kB / 0.9848 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.009729, allocations: 16.62 kB / 0.9848 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.00973, allocations: 0 / 0.9848 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of Templates: time 0.003864/0.01359, allocations: 476.3 kB / 0.9852 GB, free: 6.691 MB / 0.8887 GB " [Timeout remaining time 300] 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/jenkins/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: 7.674952518194914]