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.005305/0.005305, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001155/0.001155, allocations: 198.7 kB / 16.68 MB, free: 5.926 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.342/1.342, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.567/2.567, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9185/0.9199, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002003/0.922, allocations: 0.5869 MB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.9227, allocations: 344.6 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.9228, allocations: 3.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.9228, allocations: 0 / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.776e-05/0.9229, allocations: 7.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.9234, allocations: 118.7 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.75e-05/0.9235, allocations: 7.984 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.9235, allocations: 0 / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.9236, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.9236, allocations: 4 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.9236, allocations: 4 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.9241, allocations: 283.6 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.9241, allocations: 3.938 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.9241, allocations: 0 / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.9243, allocations: 91.78 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.9243, allocations: 4 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9243, allocations: 7.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.9244, allocations: 0 / 1.209 GB, free: 12.16 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.0004244/0.9248, allocations: 339.6 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9248, allocations: 8.031 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.9249, allocations: 0.9375 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.925, allocations: 172.3 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.925, allocations: 384 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.9251, allocations: 384 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.9252, allocations: 38.27 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.9252, allocations: 3.938 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.9252, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.9252, allocations: 4 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.9253, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.9255, allocations: 165.5 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.271e-05/0.9255, allocations: 22.55 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.9256, allocations: 12.91 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/0.9263, allocations: 457.5 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.9264, allocations: 34.56 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9264, allocations: 4 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/0.9269, allocations: 250.3 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.927, allocations: 59.39 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.9271, allocations: 93.86 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.9271, allocations: 25.7 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.9272, allocations: 80.48 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.9272, allocations: 19.81 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.9272, allocations: 9.719 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9274, allocations: 322.8 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.9274, allocations: 11.88 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.9274, allocations: 17.66 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.9275, allocations: 33.7 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.9275, allocations: 0 / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001159/0.9276, allocations: 49.64 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9276, allocations: 11.94 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9277, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9277, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.9277, allocations: 7.984 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9278, allocations: 4 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.9278, allocations: 0 / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.9278, allocations: 0 / 1.211 GB, free: 9.582 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 7.76e-05/0.9279, allocations: 113.9 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.9279, allocations: 7.938 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.9281, allocations: 57.11 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.9281, allocations: 0 / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9281, allocations: 4 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.9281, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.9282, allocations: 153.7 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9282, allocations: 4 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.9283, allocations: 4 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.9283, allocations: 3.938 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.9283, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.9284, allocations: 3.984 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9284, allocations: 0 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.9285, allocations: 88.95 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.9286, allocations: 81.05 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.9286, allocations: 0 / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.9287, allocations: 4.062 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.9287, allocations: 4.031 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.9287, allocations: 4 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.788e-05/0.9288, allocations: 79.28 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9288, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00024/0.929, allocations: 27.98 kB / 1.212 GB, free: 8.848 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.0002792/0.9293, allocations: 127.2 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.9294, allocations: 27.97 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.9294, allocations: 0 / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.9295, allocations: 11.94 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.9296, allocations: 3.984 kB / 1.212 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.9299, allocations: 107.3 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.9302, allocations: 0.6729 MB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.9303, allocations: 12.11 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.9303, allocations: 11.44 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9303, allocations: 0 / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.003583/0.9339, allocations: 0.874 MB / 1.214 GB, free: 6.949 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