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.001244/0.001244, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001044/0.001044, allocations: 169 kB / 24.06 MB, free: 456 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.9977/0.9977, allocations: 177.1 MB / 204.5 MB, free: 5.5 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 2.029/2.029, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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 1.252e-06/1.252e-06, allocations: 0 / 0.8794 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.468e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001052/0.001067, allocations: 0.6278 MB / 0.8801 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004308/0.001498, allocations: 316.5 kB / 0.8804 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.001519, allocations: 4.75 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.001533, allocations: 3.938 kB / 0.8804 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 1.841e-05/0.001552, allocations: 1.094 kB / 0.8804 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003905/0.001942, allocations: 104.3 kB / 0.8805 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.175e-05/0.001984, allocations: 17.23 kB / 0.8805 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.002016, allocations: 3.984 kB / 0.8805 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.495e-05/0.002041, allocations: 4 kB / 0.8805 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.002085, allocations: 4.875 kB / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.002096, allocations: 0 / 0.8805 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.00235, allocations: 259.6 kB / 0.8807 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.002366, allocations: 9.016 kB / 0.8808 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.002378, allocations: 0 / 0.8808 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.002529, allocations: 120.8 kB / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002531, allocations: 0 / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002532, allocations: 0 / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.002535, allocations: 0 / 0.8809 GB, free: 4.516 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.0002566/0.002791, allocations: 381.5 kB / 0.8812 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.002822, allocations: 12.03 kB / 0.8812 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.002872, allocations: 1.938 kB / 0.8812 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.409e-05/0.002936, allocations: 108.6 kB / 0.8814 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.403e-06/0.002943, allocations: 384 / 0.8814 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.002956, allocations: 7.812 kB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.435e-05/0.003021, allocations: 59.89 kB / 0.8814 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-06/0.003025, allocations: 192 / 0.8814 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.00303, allocations: 4.375 kB / 0.8814 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.003034, allocations: 384 / 0.8814 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-06/0.003043, allocations: 7.875 kB / 0.8814 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.425e-05/0.003138, allocations: 97.27 kB / 0.8815 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/0.003172, allocations: 31.08 kB / 0.8816 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.003184, allocations: 16.81 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.003467, allocations: 79.11 kB / 0.8816 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.003485, allocations: 37.39 kB / 0.8817 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.003486, allocations: 0 / 0.8817 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002948/0.003781, allocations: 183 kB / 0.8819 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.003805, allocations: 59.34 kB / 0.8819 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.228e-05/0.003857, allocations: 154.2 kB / 0.8821 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.003865, allocations: 25.7 kB / 0.8821 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.003895, allocations: 130.9 kB / 0.8822 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.003913, allocations: 7.938 kB / 0.8822 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.003937, allocations: 27.36 kB / 0.8822 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.00404, allocations: 496.1 kB / 0.8827 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.004048, allocations: 4 kB / 0.8827 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.004067, allocations: 23.36 kB / 0.8827 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.004095, allocations: 23.5 kB / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.004095, allocations: 4 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.5e-05/0.00416, allocations: 57.58 kB / 0.8828 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.004169, allocations: 4 kB / 0.8828 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.004173, allocations: 0 / 0.8828 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.004179, allocations: 0 / 0.8828 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.251e-05/0.004212, allocations: 8 kB / 0.8828 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.004214, allocations: 0 / 0.8828 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.004225, allocations: 3.938 kB / 0.8828 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.00423, allocations: 7.938 kB / 0.8828 GB, free: 2.258 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.9e-05/0.004289, allocations: 168.6 kB / 0.883 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.004303, allocations: 4 kB / 0.883 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/0.004377, allocations: 53.36 kB / 0.8831 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004379, allocations: 3.938 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.00438, allocations: 0 / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004383, allocations: 0 / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.756e-05/0.00444, allocations: 97.2 kB / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004441, allocations: 0 / 0.8832 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.004473, allocations: 11.98 kB / 0.8832 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004474, allocations: 4 kB / 0.8832 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.004479, allocations: 4 kB / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.004479, allocations: 0 / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.004481, allocations: 7.938 kB / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.276e-05/0.004563, allocations: 80.38 kB / 0.8833 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-06/0.004568, allocations: 4 kB / 0.8833 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-06/0.004574, allocations: 0 / 0.8833 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.464e-05/0.004589, allocations: 3.984 kB / 0.8833 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-06/0.004599, allocations: 4 kB / 0.8833 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.004601, allocations: 0 / 0.8833 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.004632, allocations: 123.2 kB / 0.8834 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004632, allocations: 0 / 0.8834 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001369/0.004769, allocations: 23.94 kB / 0.8834 GB, free: 1.605 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.0001212/0.00489, allocations: 131.2 kB / 0.8835 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.795e-05/0.004948, allocations: 23.61 kB / 0.8836 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.00495, allocations: 4 kB / 0.8836 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.004965, allocations: 11.69 kB / 0.8836 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.005101, allocations: 7.922 kB / 0.8836 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.005299, allocations: 114.5 kB / 0.8837 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.557e-05/0.005325, allocations: 59.36 kB / 0.8837 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.978e-05/0.005344, allocations: 0 / 0.8837 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.005385, allocations: 74.2 kB / 0.8838 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.005385, allocations: 0 / 0.8838 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of Templates: time 0.00213/0.007515, allocations: 1.05 MB / 0.8848 GB, free: 92 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.168939311057329]