Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001021/0.001021, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 12.28 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7131, allocations: 142.4 MB / 0.9557 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006452/0.7138, allocations: 258.2 kB / 0.9559 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004814/0.7143, allocations: 190.4 kB / 0.9561 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.7143, allocations: 0 / 0.9561 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.7144, allocations: 0 / 0.9561 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.7144, allocations: 5.25 kB / 0.9561 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.7147, allocations: 47.52 kB / 0.9562 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.7148, allocations: 10.34 kB / 0.9562 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.7148, allocations: 1.062 kB / 0.9562 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.24e-05/0.7149, allocations: 10.75 kB / 0.9562 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.7149, allocations: 14.03 kB / 0.9562 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.7149, allocations: 1.062 kB / 0.9562 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.7151, allocations: 114.3 kB / 0.9563 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.7152, allocations: 15.22 kB / 0.9563 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.7152, allocations: 31.83 kB / 0.9564 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.7153, allocations: 45.95 kB / 0.9564 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7153, allocations: 0 / 0.9564 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7153, allocations: 1.156 kB / 0.9564 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.7153, allocations: 4 kB / 0.9564 GB, free: 7.391 MB / 0.7169 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.0002567/0.7156, allocations: 333.7 kB / 0.9567 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7157, allocations: 9.062 kB / 0.9567 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.7157, allocations: 3.094 kB / 0.9567 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.7158, allocations: 170.5 kB / 0.9569 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.7158, allocations: 384 / 0.9569 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.7158, allocations: 2.531 kB / 0.9569 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.59e-05/0.7159, allocations: 37.5 kB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.7159, allocations: 4.188 kB / 0.9569 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.716, allocations: 3.938 kB / 0.957 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.716, allocations: 1.125 kB / 0.957 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/0.716, allocations: 12.61 kB / 0.957 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.7161, allocations: 165.2 kB / 0.9571 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.7162, allocations: 30.38 kB / 0.9572 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.7162, allocations: 10.77 kB / 0.9572 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.7163, allocations: 11.27 kB / 0.9572 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.7163, allocations: 35.53 kB / 0.9572 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.7163, allocations: 0 / 0.9572 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005159/0.7168, allocations: 304.7 kB / 0.9575 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.7169, allocations: 52.38 kB / 0.9575 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.049e-05/0.7169, allocations: 111.9 kB / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.7169, allocations: 30.86 kB / 0.9577 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.143e-05/0.717, allocations: 85.11 kB / 0.9578 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.717, allocations: 9.844 kB / 0.9578 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.717, allocations: 14.78 kB / 0.9578 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.7171, allocations: 315.9 kB / 0.9581 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.7171, allocations: 10.41 kB / 0.9581 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.7171, allocations: 27.36 kB / 0.9581 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.036e-05/0.7172, allocations: 47.11 kB / 0.9582 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.7172, allocations: 0 / 0.9582 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.89e-05/0.7173, allocations: 66.94 kB / 0.9582 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7173, allocations: 8.719 kB / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7173, allocations: 0 / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7173, allocations: 1.188 kB / 0.9582 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.7174, allocations: 6.062 kB / 0.9583 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.7174, allocations: 5.141 kB / 0.9583 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.7174, allocations: 5.375 kB / 0.9583 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.7175, allocations: 5.281 kB / 0.9583 GB, free: 5.445 MB / 0.7169 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 4.844e-05/0.7175, allocations: 108.7 kB / 0.9584 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.7175, allocations: 10.16 kB / 0.9584 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.7177, allocations: 74.39 kB / 0.9584 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7177, allocations: 1.344 kB / 0.9585 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7177, allocations: 0 / 0.9585 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7177, allocations: 0 / 0.9585 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.27e-05/0.7178, allocations: 170.6 kB / 0.9586 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7178, allocations: 4 kB / 0.9586 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.7178, allocations: 8.344 kB / 0.9586 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7178, allocations: 5.406 kB / 0.9586 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.7178, allocations: 0 / 0.9586 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7178, allocations: 1.406 kB / 0.9586 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7179, allocations: 0 / 0.9586 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.718, allocations: 106.9 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.718, allocations: 83.58 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.718, allocations: 8 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/0.7181, allocations: 1.312 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.7181, allocations: 0.9375 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.7181, allocations: 1.156 kB / 0.9588 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.7182, allocations: 90.64 kB / 0.9589 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7182, allocations: 3.938 kB / 0.9589 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002123/0.7184, allocations: 16.94 kB / 0.9589 GB, free: 4.77 MB / 0.7169 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.0001584/0.7185, allocations: 119.2 kB / 0.959 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.7186, allocations: 35.05 kB / 0.9591 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7186, allocations: 0 / 0.9591 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.7187, allocations: 20.03 kB / 0.9591 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.7188, allocations: 7.703 kB / 0.9591 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.7191, allocations: 164.4 kB / 0.9593 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.7192, allocations: 0.6793 MB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.7192, allocations: 15.09 kB / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7192, allocations: 3.938 kB / 0.9599 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.00229/0.7215, allocations: 0.841 MB / 0.9608 GB, free: 3.352 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches