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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00937/0.009371, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003972, allocations: 16 kB / 0.8728 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6986, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007775/0.6994, allocations: 353.2 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000743/0.7002, allocations: 366.9 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.7003, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.7003, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.7003, allocations: 3.938 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.7007, allocations: 79.84 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.7008, allocations: 27.97 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.7008, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.7009, allocations: 7.938 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.7009, allocations: 15.92 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.7009, allocations: 4 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.7013, allocations: 279.6 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.7014, allocations: 3.984 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.7014, allocations: 37.64 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.7016, allocations: 107.7 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.7016, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7016, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7016, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 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.0003907/0.702, allocations: 353.5 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.7021, allocations: 8.031 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.519e-05/0.7021, allocations: 8.875 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.7022, allocations: 168.3 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.7023, allocations: 4.375 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.7023, allocations: 4.375 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.7024, allocations: 46.25 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7024, allocations: 8.188 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7024, allocations: 3.938 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.7024, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.551e-05/0.7025, allocations: 23.92 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.7027, allocations: 173.5 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.7028, allocations: 50.56 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.7029, allocations: 32.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.7036, allocations: 461.5 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.7036, allocations: 34.56 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.7036, allocations: 4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001342/0.705, allocations: 0.5954 MB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.705, allocations: 51.41 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.7051, allocations: 101.8 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.7051, allocations: 33.7 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.7052, allocations: 88.14 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.7052, allocations: 39.48 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.7053, allocations: 21.66 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7054, allocations: 318.8 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.7054, allocations: 16 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.7055, allocations: 19.98 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.7056, allocations: 52.86 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.7056, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001718/0.7058, allocations: 109.3 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7058, allocations: 4 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7058, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7058, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7059, allocations: 23.98 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.706, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.706, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.706, allocations: 8 kB / 1.027 GB, free: 11.33 MB / 0.7794 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.67e-05/0.7061, allocations: 117.8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.7061, allocations: 7.844 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.7064, allocations: 109.5 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7064, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.7064, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.7064, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.7068, allocations: 366.4 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7069, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.707, allocations: 23.98 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.707, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.707, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.707, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.707, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.7073, allocations: 227.2 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.7074, allocations: 89.12 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.7074, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.7075, allocations: 7.984 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.7075, allocations: 12.06 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.7076, allocations: 3.938 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.7076, allocations: 83.27 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7076, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002933/0.7079, allocations: 40 kB / 1.028 GB, free: 10.16 MB / 0.7794 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.0003031/0.7082, allocations: 143.2 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.7084, allocations: 67.84 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7084, allocations: 0 / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.7085, allocations: 39.98 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.7087, allocations: 4.75 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.7091, allocations: 199 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.7094, allocations: 0.6848 MB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.751e-05/0.7095, allocations: 19.91 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.7095, allocations: 15.44 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7095, allocations: 0 / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of Templates: time 0.004095/0.7136, allocations: 1.375 MB / 1.031 GB, free: 7.566 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) 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) Reference file matches