Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0009186/0.0009186, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.0009151/0.0009151, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 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 0.9428/0.9428, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.802/1.802, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 0.8116 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.196e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001978/0.00201, allocations: 0.6093 MB / 0.8122 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.00275, allocations: 316.4 kB / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.002779, allocations: 0 / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.0028, allocations: 0 / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.403e-05/0.002824, allocations: 0 / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.003345, allocations: 126.3 kB / 0.8126 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.003415, allocations: 11.98 kB / 0.8126 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.003459, allocations: 4 kB / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.003487, allocations: 0 / 0.8126 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.003549, allocations: 7.984 kB / 0.8126 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.003565, allocations: 2.469 kB / 0.8126 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.003953, allocations: 259.6 kB / 0.8129 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.003968, allocations: 0 / 0.8129 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.003987, allocations: 0 / 0.8129 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.004217, allocations: 135.5 kB / 0.813 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.00422, allocations: 0 / 0.813 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004221, allocations: 0.7188 kB / 0.813 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.004226, allocations: 0 / 0.813 GB, free: 0.5664 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003938/0.00462, allocations: 368.6 kB / 0.8134 GB, free: 172 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.004663, allocations: 8.031 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.004761, allocations: 6.594 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.004871, allocations: 116.8 kB / 0.8135 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.004887, allocations: 4.375 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.004913, allocations: 4.375 kB / 0.8135 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.005056, allocations: 56.62 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005065, allocations: 1.312 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.005076, allocations: 384 / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.005086, allocations: 384 / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.005106, allocations: 9.094 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.00528, allocations: 116.6 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.005341, allocations: 32.41 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.005363, allocations: 11.69 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004857/0.005848, allocations: 82.58 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.005881, allocations: 37.38 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.005882, allocations: 1.875 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0005196/0.006402, allocations: 177.8 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.006439, allocations: 55.41 kB / 0.814 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.006526, allocations: 158.6 kB / 0.8142 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.006539, allocations: 32.02 kB / 0.8142 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.006583, allocations: 130.9 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.006608, allocations: 11.91 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.006649, allocations: 23.36 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.006811, allocations: 492.1 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.006832, allocations: 8 kB / 0.8149 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.006862, allocations: 21.31 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.006915, allocations: 35.3 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006916, allocations: 0 / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000111/0.007027, allocations: 50.14 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.007044, allocations: 9.906 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.00705, allocations: 3.984 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.007065, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.007125, allocations: 4 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.007131, allocations: 7.938 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.007148, allocations: 1.156 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.007154, allocations: 0 / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.377e-05/0.007238, allocations: 160.5 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.007268, allocations: 8.609 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.007395, allocations: 57.98 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.007397, allocations: 3.656 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.007402, allocations: 4 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.007407, allocations: 8.125 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.366e-05/0.007491, allocations: 104.6 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007492, allocations: 4 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.007547, allocations: 11.97 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.00755, allocations: 0 / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.007558, allocations: 4 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.007561, allocations: 3.984 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.007563, allocations: 2.031 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.007718, allocations: 84.38 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.007726, allocations: 4 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.007738, allocations: 3.938 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.007765, allocations: 0 / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.007784, allocations: 7.984 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.007789, allocations: 0.9375 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.007831, allocations: 128.2 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007831, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002477/0.008079, allocations: 27.94 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002176/0.008297, allocations: 128.3 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.008397, allocations: 28.7 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008399, allocations: 0 / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.008417, allocations: 15.62 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.008578, allocations: 4.875 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.008844, allocations: 106.3 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.826e-05/0.008883, allocations: 60.81 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.008913, allocations: 5.75 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.008935, allocations: 8.5 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of SimCode: time 7.02e-07/0.008936, allocations: 0 / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.003569/0.0125, allocations: 0.9062 MB / 0.8168 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.094625700963661]