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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00191/0.00191, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.076/3.076, allocations: 472.6 MB / 0.7447 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.47 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4173, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002368/0.4197, allocations: 0.5917 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006127/0.4204, allocations: 209.6 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.4204, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.353e-05/0.4205, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.4206, allocations: 0 / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.421, allocations: 43.88 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.4211, allocations: 15.92 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.4211, allocations: 8 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.4212, allocations: 4 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.4212, allocations: 7.969 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.4212, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.4215, allocations: 119.8 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.524e-05/0.4216, allocations: 15.92 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.4216, allocations: 3.938 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.4218, allocations: 63.83 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4218, allocations: 4 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4218, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.4219, allocations: 4 kB / 1.069 GB, free: 9.742 MB / 0.8262 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.0004422/0.4223, allocations: 339.7 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4224, allocations: 12.03 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.4224, allocations: 4.922 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.4226, allocations: 168.3 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4226, allocations: 384 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4226, allocations: 384 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4227, allocations: 38.25 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.4228, allocations: 192 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4228, allocations: 7.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4228, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.398e-05/0.4228, allocations: 15.94 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.423, allocations: 157.7 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.4231, allocations: 26.59 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.4232, allocations: 12.92 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.4232, allocations: 4 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.4232, allocations: 34.56 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4232, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006669/0.4239, allocations: 302.2 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.424, allocations: 59.34 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.4241, allocations: 105.8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4241, allocations: 25.7 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.4241, allocations: 96.34 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.4242, allocations: 7.812 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.4242, allocations: 17.72 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4244, allocations: 322.8 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.4244, allocations: 8 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.4244, allocations: 25.7 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.4245, allocations: 41.66 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4245, allocations: 7.984 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001155/0.4246, allocations: 69.62 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4247, allocations: 7.938 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4247, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4247, allocations: 4 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.4248, allocations: 4 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4248, allocations: 0 / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.975e-05/0.4248, allocations: 4 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.4248, allocations: 4.062 kB / 1.07 GB, free: 7.566 MB / 0.8262 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 9.323e-05/0.4249, allocations: 123.5 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.425, allocations: 7.844 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.4251, allocations: 73.72 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4251, allocations: 4.031 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4251, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4251, allocations: 0 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4253, allocations: 165.7 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4253, allocations: 4 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.4253, allocations: 7.984 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4254, allocations: 7.938 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4254, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4254, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4254, allocations: 3.938 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.4256, allocations: 101.1 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.4256, allocations: 81.02 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.4256, allocations: 11.98 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.4257, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.4257, allocations: 4 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4257, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.4258, allocations: 87.27 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4258, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002331/0.426, allocations: 20 kB / 1.071 GB, free: 6.766 MB / 0.8262 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.0002134/0.4262, allocations: 119.2 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.4264, allocations: 35.92 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4264, allocations: 3.938 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.4264, allocations: 19.98 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.4266, allocations: 0 / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.4269, allocations: 131.3 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.4272, allocations: 0.6809 MB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.4272, allocations: 12.67 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.4272, allocations: 11.44 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.4272, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.003873/0.4311, allocations: 0.8747 MB / 1.073 GB, free: 4.82 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches