Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.002489/0.002489, allocations: 85.48 kB / 19.44 MB, free: 344 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.003089/0.003089, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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 3.382/3.382, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.058e-05/4.211e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001739/0.001781, allocations: 0.6254 MB / 0.8781 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.002555, allocations: 331.3 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.002581, allocations: 1.656 kB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.002595, allocations: 0 / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.002636, allocations: 3.938 kB / 0.8784 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.003141, allocations: 121.6 kB / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.003224, allocations: 23.92 kB / 0.8786 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.003265, allocations: 4 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.003337, allocations: 15.97 kB / 0.8786 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.003399, allocations: 12.58 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.003416, allocations: 0 / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004396/0.003855, allocations: 253 kB / 0.8788 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.003882, allocations: 15.92 kB / 0.8789 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.003908, allocations: 7.984 kB / 0.8789 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.004315, allocations: 128.3 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.00432, allocations: 4 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004321, allocations: 0.6562 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004325, allocations: 0 / 0.879 GB, free: 5.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005946/0.00492, allocations: 396.6 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.004964, allocations: 9.625 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.005066, allocations: 4.938 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.005201, allocations: 112.6 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005216, allocations: 4.375 kB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.00524, allocations: 6.031 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.005414, allocations: 109.6 kB / 0.8796 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.005426, allocations: 192 / 0.8796 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.005439, allocations: 4.375 kB / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.005444, allocations: 384 / 0.8796 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/0.005509, allocations: 22.83 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.005722, allocations: 124.6 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.005855, allocations: 63.03 kB / 0.8798 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.005907, allocations: 23.69 kB / 0.8798 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/0.006462, allocations: 89.92 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.006505, allocations: 37.39 kB / 0.88 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.006506, allocations: 4 kB / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001395/0.007901, allocations: 476.5 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.007951, allocations: 59.39 kB / 0.8805 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.008078, allocations: 157.9 kB / 0.8806 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.008104, allocations: 29.7 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.008177, allocations: 127.1 kB / 0.8808 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.008235, allocations: 47.62 kB / 0.8808 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.008294, allocations: 35.38 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002742/0.008568, allocations: 0.4884 MB / 0.8813 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.008618, allocations: 23.98 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.008656, allocations: 16 kB / 0.8814 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.008779, allocations: 63.61 kB / 0.8814 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.00878, allocations: 0 / 0.8814 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001831/0.008963, allocations: 104.9 kB / 0.8815 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.008978, allocations: 6.656 kB / 0.8815 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.008988, allocations: 4 kB / 0.8815 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.009003, allocations: 3.938 kB / 0.8815 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.009113, allocations: 23.92 kB / 0.8816 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.009119, allocations: 4 kB / 0.8816 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.534e-05/0.009144, allocations: 4 kB / 0.8816 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.009153, allocations: 7.938 kB / 0.8816 GB, free: 2.164 MB / 0.8386 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 (13): * Single equations (assignments): 13 * 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.0001248/0.009278, allocations: 160.6 kB / 0.8817 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.009318, allocations: 11.95 kB / 0.8817 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.009525, allocations: 101.8 kB / 0.8818 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.009529, allocations: 3.938 kB / 0.8818 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.009533, allocations: 0 / 0.8818 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009537, allocations: 3.938 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.01001, allocations: 357.6 kB / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01001, allocations: 0 / 0.8822 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.01012, allocations: 20 kB / 0.8822 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.01013, allocations: 7.922 kB / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.01014, allocations: 0 / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01014, allocations: 3.938 kB / 0.8822 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.01014, allocations: 4 kB / 0.8822 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.01074, allocations: 267.8 kB / 0.8825 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.01077, allocations: 15.94 kB / 0.8825 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.01079, allocations: 3.938 kB / 0.8825 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.01087, allocations: 8 kB / 0.8825 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01089, allocations: 8.016 kB / 0.8825 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.0109, allocations: 8 kB / 0.8825 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.01098, allocations: 127.2 kB / 0.8826 GB, free: 1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01098, allocations: 0 / 0.8826 GB, free: 1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002695/0.01125, allocations: 43.88 kB / 0.8827 GB, free: 0.957 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002932/0.01154, allocations: 151 kB / 0.8828 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.01173, allocations: 67.66 kB / 0.8829 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01173, allocations: 0 / 0.8829 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.01179, allocations: 39.61 kB / 0.8829 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.012, allocations: 13.12 kB / 0.8829 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.01243, allocations: 181.9 kB / 0.8831 GB, free: 476 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.0125, allocations: 67.34 kB / 0.8832 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.533e-05/0.01256, allocations: 12.02 kB / 0.8832 GB, free: 376 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.0126, allocations: 16.5 kB / 0.8832 GB, free: 360 kB / 0.8386 GB Notification: Performance of SimCode: time 4.3e-07/0.0126, allocations: 4 kB / 0.8832 GB, free: 356 kB / 0.8386 GB Notification: Performance of Templates: time 0.004973/0.01757, allocations: 1.427 MB / 0.8846 GB, free: 14.94 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.434925631037913]