Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001296/0.001296, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001173/0.001173, allocations: 192 kB / 17.29 MB, free: 5.863 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.989/1.989, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.58 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2208, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00161/0.2224, allocations: 0.6171 MB / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005821/0.223, allocations: 350.6 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.223, allocations: 4 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.223, allocations: 0 / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.289e-05/0.2231, allocations: 3.938 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.2235, allocations: 119.2 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.2236, allocations: 23.92 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.2236, allocations: 8 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.2236, allocations: 11.94 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.2237, allocations: 19.91 kB / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2237, allocations: 0 / 0.9522 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.2241, allocations: 275.6 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.2241, allocations: 8 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.2242, allocations: 11.94 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2243, allocations: 99.75 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2243, allocations: 0 / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2244, allocations: 4 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2244, allocations: 0 / 0.9526 GB, free: 6.496 MB / 0.7325 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.0003681/0.2247, allocations: 363.4 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2248, allocations: 16.02 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.2248, allocations: 4.844 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2249, allocations: 164.4 kB / 0.9531 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.225, allocations: 4.375 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.225, allocations: 8.375 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.2251, allocations: 46.19 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2251, allocations: 4.188 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2251, allocations: 7.922 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.2251, allocations: 4 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.2252, allocations: 19.98 kB / 0.9532 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.2254, allocations: 169.6 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.2255, allocations: 58.62 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.2255, allocations: 28.84 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.2262, allocations: 461.4 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.2262, allocations: 34.56 kB / 0.954 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2262, allocations: 4 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001137/0.2274, allocations: 0.5954 MB / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2274, allocations: 59.39 kB / 0.9546 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.2275, allocations: 97.86 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2275, allocations: 25.7 kB / 0.9547 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.2275, allocations: 82.25 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.2275, allocations: 43.45 kB / 0.9548 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.2276, allocations: 25.7 kB / 0.9549 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.2277, allocations: 318.8 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.2277, allocations: 19.98 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.2278, allocations: 20 kB / 0.9552 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.2279, allocations: 56.84 kB / 0.9553 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2279, allocations: 3.938 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.228, allocations: 101.5 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.228, allocations: 8 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.228, allocations: 96 / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2281, allocations: 3.938 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.693e-05/0.2282, allocations: 23.98 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2282, allocations: 0 / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.2282, allocations: 4 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.2282, allocations: 4 kB / 0.9554 GB, free: 3.25 MB / 0.7325 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 6.984e-05/0.2283, allocations: 119.8 kB / 0.9555 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.2283, allocations: 3.938 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.2285, allocations: 113.6 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2285, allocations: 0 / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2285, allocations: 0 / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2285, allocations: 0 / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.2289, allocations: 358.5 kB / 0.956 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2289, allocations: 0 / 0.956 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.229, allocations: 19.98 kB / 0.956 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.229, allocations: 4 kB / 0.956 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.229, allocations: 7.938 kB / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.229, allocations: 0 / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.229, allocations: 4 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.2292, allocations: 223.5 kB / 0.9562 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.2293, allocations: 93.02 kB / 0.9563 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.2293, allocations: 4 kB / 0.9563 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.2294, allocations: 4 kB / 0.9563 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.2294, allocations: 7.984 kB / 0.9563 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2294, allocations: 4 kB / 0.9563 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.2295, allocations: 87.34 kB / 0.9564 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2295, allocations: 0 / 0.9564 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002467/0.2297, allocations: 40 kB / 0.9564 GB, free: 2.07 MB / 0.7325 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.0002008/0.2299, allocations: 139.2 kB / 0.9566 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.2301, allocations: 67.86 kB / 0.9566 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2301, allocations: 4 kB / 0.9566 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.2301, allocations: 31.92 kB / 0.9567 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.2304, allocations: 13.62 kB / 0.9567 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.2307, allocations: 174.7 kB / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.2309, allocations: 0.6883 MB / 0.9575 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.231, allocations: 7.984 kB / 0.9575 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.231, allocations: 11.44 kB / 0.9575 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.231, allocations: 4 kB / 0.9576 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of Templates: time 0.003502/0.2345, allocations: 1.421 MB / 0.9589 GB, free: 15.47 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches