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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007277/0.007277, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001307/0.001307, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 1.054 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9232, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001787/0.9251, allocations: 0.5947 MB / 1.208 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.9258, allocations: 340.7 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.9259, allocations: 0 / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/0.9259, allocations: 7.875 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.9259, allocations: 0 / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.9264, allocations: 114.1 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.9265, allocations: 12 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.9266, allocations: 3.938 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.9266, allocations: 4 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.9266, allocations: 3.984 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.9267, allocations: 0 / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.927, allocations: 279.6 kB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.9271, allocations: 3.938 kB / 1.209 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.9271, allocations: 15.92 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.9273, allocations: 83.86 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.9273, allocations: 7.938 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9273, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.9273, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 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.0004299/0.9278, allocations: 339.6 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9278, allocations: 12.03 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.9279, allocations: 4.922 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.928, allocations: 168.3 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.928, allocations: 384 / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.9281, allocations: 4.375 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.717e-05/0.9282, allocations: 34.27 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9282, allocations: 192 / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.9282, allocations: 7.922 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9282, allocations: 0 / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.9282, allocations: 11.94 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.9284, allocations: 149.5 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.9285, allocations: 26.56 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.9285, allocations: 8.859 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007236/0.9293, allocations: 457.5 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/0.9293, allocations: 34.56 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9293, allocations: 0 / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000592/0.9299, allocations: 254.3 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.93, allocations: 51.41 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.9301, allocations: 101.8 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.9301, allocations: 25.7 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.9301, allocations: 84.48 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.9301, allocations: 11.8 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.9302, allocations: 17.72 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9303, allocations: 310.8 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.9303, allocations: 8 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.9303, allocations: 17.7 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/0.9304, allocations: 29.72 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.9304, allocations: 3.938 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.9305, allocations: 53.62 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.9305, allocations: 7.938 kB / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.9305, allocations: 0 / 1.211 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.9306, allocations: 4 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.9306, allocations: 4 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.9306, allocations: 0 / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.9307, allocations: 8.141 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.9307, allocations: 8 kB / 1.211 GB, free: 9.551 MB / 0.9356 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 6.897e-05/0.9307, allocations: 109.8 kB / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.9308, allocations: 11.92 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.9309, allocations: 57.17 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9309, allocations: 0 / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.931, allocations: 149.7 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9311, allocations: 4 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.9311, allocations: 8 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9311, allocations: 7.938 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.9311, allocations: 0 / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9311, allocations: 0 / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9311, allocations: 3.984 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.9313, allocations: 80.97 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.9313, allocations: 81.14 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.9314, allocations: 8 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.9314, allocations: 4 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.9314, allocations: 0 / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.9314, allocations: 7.984 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.9315, allocations: 75.28 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9315, allocations: 0 / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002256/0.9317, allocations: 24 kB / 1.212 GB, free: 8.824 MB / 0.9356 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.0002393/0.932, allocations: 135.3 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.365e-05/0.9321, allocations: 19.92 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.9321, allocations: 0 / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.9321, allocations: 11.94 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.9322, allocations: 6.031 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.9326, allocations: 103.3 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.9328, allocations: 0.6768 MB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.9329, allocations: 20 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.9329, allocations: 7.438 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of SimCode: time 1.91e-07/0.9329, allocations: 0 / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of Templates: time 0.003217/0.9361, allocations: 0.8732 MB / 1.214 GB, free: 6.926 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches