Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.91 kB / 1.059 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.312, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001821/0.3138, allocations: 0.63 MB / 1.217 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.3146, allocations: 354.7 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.3146, allocations: 7.938 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.3146, allocations: 3.938 kB / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.3146, allocations: 0 / 1.217 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.3151, allocations: 119.6 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.3152, allocations: 23.98 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.3152, allocations: 7.984 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.3152, allocations: 7.938 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.3153, allocations: 15.97 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3153, allocations: 4 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.3157, allocations: 275.7 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.3157, allocations: 7.922 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.3158, allocations: 11.94 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3159, allocations: 103.6 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3159, allocations: 0 / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.316, allocations: 0 / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.316, allocations: 0 / 1.218 GB, free: 13.74 MB / 0.9669 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.0005166/0.3165, allocations: 367.1 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3165, allocations: 12.03 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.3166, allocations: 12.83 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3167, allocations: 164.4 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3167, allocations: 4.375 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3168, allocations: 4.375 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.3169, allocations: 46.25 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3169, allocations: 192 / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3169, allocations: 11.92 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3169, allocations: 7.938 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.317, allocations: 15.98 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.3172, allocations: 169.6 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3173, allocations: 58.5 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.3173, allocations: 28.84 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000758/0.3181, allocations: 457.5 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.3181, allocations: 38.5 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3181, allocations: 0 / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001351/0.3195, allocations: 0.588 MB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3195, allocations: 55.41 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.3196, allocations: 101.8 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3196, allocations: 29.73 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.3197, allocations: 84.08 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.3197, allocations: 47.58 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.3198, allocations: 21.72 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3199, allocations: 326.8 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.32, allocations: 20 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.32, allocations: 23.86 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.3201, allocations: 60.84 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3201, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001722/0.3203, allocations: 93.62 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3203, allocations: 4 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3203, allocations: 0 / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3203, allocations: 4 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3204, allocations: 35.92 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3204, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.3205, allocations: 0 / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.3205, allocations: 4 kB / 1.22 GB, free: 10.49 MB / 0.9669 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 8.544e-05/0.3206, allocations: 109.8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.3206, allocations: 11.89 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.3208, allocations: 117.5 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3208, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3208, allocations: 4 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3208, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.3213, allocations: 350.5 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3213, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3214, allocations: 23.92 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3214, allocations: 4 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3214, allocations: 4 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3214, allocations: 0 / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3214, allocations: 0 / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3217, allocations: 223.5 kB / 1.221 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3217, allocations: 93.06 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3218, allocations: 7.984 kB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.3218, allocations: 3.938 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.3219, allocations: 7.938 kB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3219, allocations: 4 kB / 1.221 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.619e-05/0.3219, allocations: 87.27 kB / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3219, allocations: 0 / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002924/0.3222, allocations: 47.94 kB / 1.222 GB, free: 9.301 MB / 0.9669 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.000245/0.3225, allocations: 131.2 kB / 1.222 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.3226, allocations: 67.78 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3226, allocations: 0 / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.3227, allocations: 31.98 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.3229, allocations: 4 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.3233, allocations: 197.8 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3236, allocations: 0.6885 MB / 1.223 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.3237, allocations: 11.94 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.3237, allocations: 11.44 kB / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3237, allocations: 0 / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of Templates: time 0.004218/0.3279, allocations: 1.438 MB / 1.224 GB, free: 6.684 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.20158408023417]