Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001055/0.001055, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001656/0.001656, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.9603/0.9603, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.984/1.984, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.32e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001052/0.001065, allocations: 0.6149 MB / 0.8788 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004843/0.001549, allocations: 325.5 kB / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.00157, allocations: 0 / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.001588, allocations: 0 / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.689e-05/0.001605, allocations: 4.969 kB / 0.8791 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.001952, allocations: 113 kB / 0.8792 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.001997, allocations: 8 kB / 0.8793 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.804e-05/0.002025, allocations: 5.156 kB / 0.8793 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.002058, allocations: 11.92 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.002104, allocations: 3.984 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.002116, allocations: 0.875 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.00236, allocations: 251.7 kB / 0.8795 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.002373, allocations: 7.938 kB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.00239, allocations: 13.08 kB / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.002541, allocations: 123.6 kB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002543, allocations: 0 / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.22e-07/0.002543, allocations: 0.6562 kB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002547, allocations: 0.875 kB / 0.8797 GB, free: 4.812 MB / 0.8386 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.0003272/0.002874, allocations: 372.4 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.002905, allocations: 12.03 kB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.002966, allocations: 1.781 kB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.876e-05/0.003035, allocations: 112.6 kB / 0.8801 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-06/0.003043, allocations: 4 kB / 0.8801 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.003055, allocations: 384 / 0.8801 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.003134, allocations: 63.91 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003141, allocations: 192 / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.003149, allocations: 4.375 kB / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.003155, allocations: 384 / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.401e-05/0.003169, allocations: 7.922 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.003272, allocations: 108.6 kB / 0.8803 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.402e-05/0.003316, allocations: 35.66 kB / 0.8803 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.003332, allocations: 15.75 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.003655, allocations: 79.69 kB / 0.8804 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.003679, allocations: 45.33 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.00368, allocations: 0 / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003491/0.004029, allocations: 181.7 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.004052, allocations: 51.41 kB / 0.8807 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.365e-05/0.004106, allocations: 157.9 kB / 0.8809 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/0.004115, allocations: 29.7 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.004144, allocations: 126.9 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.00416, allocations: 3.953 kB / 0.881 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.004185, allocations: 27.36 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.004281, allocations: 496.1 kB / 0.8815 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.004291, allocations: 352 / 0.8815 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.004315, allocations: 35.36 kB / 0.8815 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.00435, allocations: 27.31 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.004351, allocations: 0 / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.316e-05/0.004424, allocations: 53.64 kB / 0.8816 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.004433, allocations: 4 kB / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.004437, allocations: 0 / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004446, allocations: 144 / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.004494, allocations: 15.94 kB / 0.8816 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.004499, allocations: 8 kB / 0.8816 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.004509, allocations: 4 kB / 0.8816 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.00452, allocations: 7.984 kB / 0.8817 GB, free: 2.516 MB / 0.8386 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 5.33e-05/0.004573, allocations: 156.5 kB / 0.8818 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.004588, allocations: 4 kB / 0.8818 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.743e-05/0.004676, allocations: 53.36 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.004677, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.00468, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.004683, allocations: 7.938 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.194e-05/0.004745, allocations: 112.6 kB / 0.882 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.004747, allocations: 3.938 kB / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.004787, allocations: 7.984 kB / 0.882 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004788, allocations: 3.938 kB / 0.882 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.004794, allocations: 0 / 0.882 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004795, allocations: 4 kB / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.004796, allocations: 0 / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.0049, allocations: 84.38 kB / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-06/0.004906, allocations: 3.953 kB / 0.8821 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.004917, allocations: 4 kB / 0.8821 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.004934, allocations: 12.02 kB / 0.8821 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.004948, allocations: 0 / 0.8821 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.004953, allocations: 0 / 0.8821 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.446e-05/0.004987, allocations: 127.1 kB / 0.8822 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004987, allocations: 0 / 0.8822 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001463/0.005134, allocations: 27.88 kB / 0.8822 GB, free: 1.836 MB / 0.8386 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.0001336/0.005267, allocations: 131.2 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.005336, allocations: 19.67 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005337, allocations: 4.219 kB / 0.8824 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.005349, allocations: 11.69 kB / 0.8824 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.95e-05/0.005449, allocations: 13.3 kB / 0.8824 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.00562, allocations: 114.3 kB / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.413e-05/0.005645, allocations: 51.36 kB / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.005663, allocations: 4 kB / 0.8826 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.005677, allocations: 8.5 kB / 0.8826 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.005678, allocations: 0 / 0.8826 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of Templates: time 0.002645/0.008323, allocations: 1.025 MB / 0.8836 GB, free: 420 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.142581921070814]