Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 105.4 kB / 16.36 MB, free: 6.312 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.001712/0.001713, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.427/2.427, allocations: 442.6 MB / 0.7166 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.19 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001713/0.2757, allocations: 0.5266 MB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004714/0.2762, allocations: 201.7 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.2762, allocations: 0 / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.2763, allocations: 7.938 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.759e-05/0.2763, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.2767, allocations: 67.78 kB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.2768, allocations: 8 kB / 1.028 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.2768, allocations: 3.984 kB / 1.028 GB, free: 1.242 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.2768, allocations: 7.938 kB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.146e-05/0.2769, allocations: 0 / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.2769, allocations: 4 kB / 1.028 GB, free: 1.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.2771, allocations: 135.8 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.2771, allocations: 7.984 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2772, allocations: 3.938 kB / 1.028 GB, free: 1.086 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.2773, allocations: 71.83 kB / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2774, allocations: 4 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2774, allocations: 4 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2774, allocations: 0 / 1.028 GB, free: 1.008 MB / 0.795 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.0003649/0.2777, allocations: 340.6 kB / 1.028 GB, free: 0.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2778, allocations: 11.97 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2778, allocations: 0.9375 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.278, allocations: 172.3 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.278, allocations: 4.375 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.278, allocations: 384 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2781, allocations: 46.25 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2781, allocations: 192 / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2782, allocations: 3.938 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2782, allocations: 0 / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.749e-05/0.2782, allocations: 15.92 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.2784, allocations: 161.7 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.2784, allocations: 22.58 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.2785, allocations: 16.91 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.2785, allocations: 8 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2785, allocations: 30.56 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2786, allocations: 0 / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005734/0.2791, allocations: 306.2 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2792, allocations: 55.34 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.2793, allocations: 110.1 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2793, allocations: 29.7 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.2793, allocations: 88.08 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2794, allocations: 7.812 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.2794, allocations: 21.7 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2795, allocations: 314.8 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.2796, allocations: 11.98 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.2796, allocations: 25.72 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.2797, allocations: 41.7 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.2797, allocations: 0 / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.2798, allocations: 65.62 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2798, allocations: 4 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2798, allocations: 7.938 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2798, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.2799, allocations: 7.984 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2799, allocations: 8.062 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.2799, allocations: 3.938 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.2799, allocations: 0 / 1.03 GB, free: 14.82 MB / 0.8106 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 8.338e-05/0.28, allocations: 125.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.28, allocations: 0 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2802, allocations: 73.52 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2802, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.2802, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.2803, allocations: 85 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.2803, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.852e-05/0.2803, allocations: 8 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.2804, allocations: 0 / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001716/0.2805, allocations: 140.9 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002123/0.2808, allocations: 250.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.142e-05/0.2808, allocations: 12.02 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.2808, allocations: 99.62 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of Backend: time 4.21e-07/0.2809, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.2813, allocations: 122.2 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0004301/0.2817, allocations: 0.5728 MB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.003211/0.2849, allocations: 0.9825 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches