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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001873/0.001873, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5513, allocations: 140.4 MB / 0.9492 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001666/0.553, allocations: 0.5895 MB / 0.9498 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004328/0.5534, allocations: 192.5 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.5534, allocations: 0 / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.5535, allocations: 0 / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.727e-05/0.5535, allocations: 1.375 kB / 0.95 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.5539, allocations: 51.12 kB / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.554, allocations: 14.86 kB / 0.95 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.554, allocations: 5.375 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.554, allocations: 2.75 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.32e-05/0.5541, allocations: 13.28 kB / 0.9501 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.5541, allocations: 1.375 kB / 0.9501 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.5543, allocations: 128 kB / 0.9502 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.5543, allocations: 10.73 kB / 0.9502 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.5543, allocations: 6.688 kB / 0.9502 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.5545, allocations: 72.58 kB / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5545, allocations: 0 / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5545, allocations: 0 / 0.9503 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5545, allocations: 5.375 kB / 0.9503 GB, free: 8.328 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.0002495/0.5548, allocations: 337.6 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5548, allocations: 9.625 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.245e-05/0.5548, allocations: 34.73 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.5549, allocations: 7.594 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.96e-05/0.5549, allocations: 161.8 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.555, allocations: 1.75 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.555, allocations: 1.75 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.5551, allocations: 41.12 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5551, allocations: 11.88 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5551, allocations: 5.312 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5551, allocations: 0 / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.5551, allocations: 8.25 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.5553, allocations: 165.8 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.06e-05/0.5553, allocations: 30.81 kB / 0.9511 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.5553, allocations: 10.36 kB / 0.9511 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.5554, allocations: 6.75 kB / 0.9511 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.5554, allocations: 35.92 kB / 0.9511 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5554, allocations: 0 / 0.9511 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004517/0.5558, allocations: 308 kB / 0.9514 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.5559, allocations: 52.66 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.5559, allocations: 116.6 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.5559, allocations: 29.7 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.556, allocations: 86.89 kB / 0.9517 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.556, allocations: 5.156 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.556, allocations: 16.88 kB / 0.9517 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.5561, allocations: 316.6 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.5561, allocations: 8.75 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.5561, allocations: 29.27 kB / 0.952 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.722e-05/0.5562, allocations: 42.55 kB / 0.9521 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5562, allocations: 3.938 kB / 0.9521 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.331e-05/0.5563, allocations: 65.94 kB / 0.9521 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5563, allocations: 10.12 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5563, allocations: 0 / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5563, allocations: 0.7188 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.5564, allocations: 6.125 kB / 0.9522 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5564, allocations: 5.312 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.5564, allocations: 4 kB / 0.9522 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.5564, allocations: 2.531 kB / 0.9522 GB, free: 6.34 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.596e-05/0.5565, allocations: 116.3 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.5565, allocations: 6.531 kB / 0.9523 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.5566, allocations: 66.12 kB / 0.9524 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.5566, allocations: 5.188 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5566, allocations: 0 / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5566, allocations: 1.375 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.905e-05/0.5567, allocations: 173.3 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.5567, allocations: 0 / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.5568, allocations: 5.156 kB / 0.9525 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5568, allocations: 5.156 kB / 0.9525 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5568, allocations: 7.938 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5568, allocations: 1 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5568, allocations: 0 / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.5569, allocations: 107.8 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.5569, allocations: 90.06 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.557, allocations: 4.844 kB / 0.9527 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.557, allocations: 5.156 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.557, allocations: 1.062 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.557, allocations: 2.156 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.5571, allocations: 90.58 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5571, allocations: 0 / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002102/0.5573, allocations: 15.47 kB / 0.9528 GB, free: 5.656 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.0003234/0.5576, allocations: 0.6702 MB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9e-05/0.5577, allocations: 31.36 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5577, allocations: 1 kB / 0.9535 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.5578, allocations: 15.47 kB / 0.9535 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.5579, allocations: 6.578 kB / 0.9535 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.5587, allocations: 1.251 MB / 0.9548 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.588e-05/0.5588, allocations: 0.6835 MB / 0.9554 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.5588, allocations: 2.562 kB / 0.9554 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.5589, allocations: 13.91 kB / 0.9555 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.5589, allocations: 0 / 0.9555 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2332/0.7921, allocations: 1.768 MB / 0.9572 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.7923, allocations: 227 kB / 0.9574 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.848, allocations: 0 / 0.9574 GB, free: 1.996 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > 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