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.001384/0.001384, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001321/0.001321, allocations: 193.5 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 67.44 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4022, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002141/0.4044, allocations: 0.5288 MB / 1.027 GB, free: 1.574 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.405, allocations: 193.8 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.405, allocations: 0 / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.405, allocations: 4 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.4051, allocations: 0 / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.4055, allocations: 67.78 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.4056, allocations: 4 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.4056, allocations: 7.984 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.4057, allocations: 7.938 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.775e-05/0.4057, allocations: 7.984 kB / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.4057, allocations: 0 / 1.028 GB, free: 1.289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.4059, allocations: 127.8 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.406, allocations: 7.984 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.406, allocations: 15.92 kB / 1.028 GB, free: 1.141 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.4062, allocations: 71.83 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4062, allocations: 0 / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4062, allocations: 0 / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.4062, allocations: 0 / 1.028 GB, free: 1.07 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.0003858/0.4066, allocations: 339.4 kB / 1.028 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.4067, allocations: 8.031 kB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.4067, allocations: 4.938 kB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.4068, allocations: 172.2 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.4069, allocations: 4.375 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4069, allocations: 8.375 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.407, allocations: 42.19 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.407, allocations: 192 / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.407, allocations: 3.938 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.407, allocations: 0 / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.4071, allocations: 15.97 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.4072, allocations: 161.7 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/0.4073, allocations: 26.58 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.4073, allocations: 12.91 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.4074, allocations: 4 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.4074, allocations: 42.44 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.4074, allocations: 0 / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0006096/0.408, allocations: 298.4 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4081, allocations: 55.41 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.4082, allocations: 109.8 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.4082, allocations: 25.7 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.4083, allocations: 84.14 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.4083, allocations: 11.81 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.4083, allocations: 21.7 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4084, allocations: 310.8 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.4085, allocations: 20 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.4085, allocations: 21.7 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/0.4086, allocations: 41.64 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4086, allocations: 4 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.341e-05/0.4087, allocations: 65.69 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4087, allocations: 7.938 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4087, allocations: 4.062 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4087, allocations: 0 / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.4088, allocations: 15.92 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4088, allocations: 320 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.4088, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4088, allocations: 4 kB / 1.03 GB, free: 14.88 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 7.745e-05/0.4089, allocations: 117.7 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.4089, allocations: 7.938 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.4091, allocations: 73.56 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4091, allocations: 4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4091, allocations: 4 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.4091, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.4093, allocations: 165.7 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4093, allocations: 3.938 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.4093, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4093, allocations: 3.938 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4093, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4094, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4094, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.4095, allocations: 109 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.4096, allocations: 81.14 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.4096, allocations: 3.938 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.4096, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.4097, allocations: 240 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4097, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.4097, allocations: 87.27 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4097, allocations: 8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002051/0.4099, allocations: 20 kB / 1.03 GB, free: 14.09 MB / 0.8106 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.0002013/0.4101, allocations: 127.2 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.4103, allocations: 31.95 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4103, allocations: 4 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.4103, allocations: 12 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.4105, allocations: 4 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.4108, allocations: 141.6 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.411, allocations: 0.6768 MB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.671e-05/0.4111, allocations: 7.984 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.4111, allocations: 11.44 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of SimCode: time 1.553e-06/0.4111, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.003358/0.4145, allocations: 0.8854 MB / 1.032 GB, free: 12.12 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 -s cvode -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