Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_11_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.001422/0.001422, allocations: 108 kB / 15.6 MB, free: 132 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.001348/0.001348, allocations: 197.5 kB / 16.54 MB, free: 6.672 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 73.03 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2445, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.00147/0.246, allocations: 0.5212 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004295/0.2464, allocations: 191.4 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.2464, allocations: 0 / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.2465, allocations: 7.922 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.2465, allocations: 3.938 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.2468, allocations: 59.8 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.171e-05/0.2469, allocations: 15.92 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.046e-05/0.2469, allocations: 4 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.2469, allocations: 7.922 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.895e-05/0.247, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.247, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.2472, allocations: 127.8 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.2472, allocations: 11.98 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.2472, allocations: 3.938 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2474, allocations: 75.77 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2474, allocations: 4 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2474, allocations: 0 / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.2474, allocations: 0 / 1.065 GB, free: 13.19 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.0003213/0.2477, allocations: 339.7 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2478, allocations: 8.031 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.2478, allocations: 34.75 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.2478, allocations: 8.875 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.248, allocations: 168.3 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.248, allocations: 4.359 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.248, allocations: 4.375 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.2481, allocations: 38.27 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2481, allocations: 7.922 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.2481, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2481, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.2482, allocations: 15.94 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.2483, allocations: 157.7 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.2484, allocations: 30.56 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.877e-05/0.2484, allocations: 8.922 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2484, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2485, allocations: 30.56 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2485, allocations: 4 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004624/0.2489, allocations: 302.2 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.249, allocations: 51.41 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.2491, allocations: 109.8 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2491, allocations: 29.64 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.2491, allocations: 80.14 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.2492, allocations: 23.95 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.2492, allocations: 17.72 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.2493, allocations: 314.8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.2493, allocations: 11.98 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.2494, allocations: 29.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.889e-05/0.2494, allocations: 37.66 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2494, allocations: 4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.311e-05/0.2495, allocations: 73.61 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2495, allocations: 7.938 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2496, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2496, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.2496, allocations: 8 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2496, allocations: 0 / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.2496, allocations: 0 / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.2497, allocations: 8.25 kB / 1.067 GB, free: 10.96 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 7.237e-05/0.2497, allocations: 121.8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.2497, allocations: 11.84 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.2499, allocations: 73.56 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2499, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2499, allocations: 0 / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2499, allocations: 4 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.25, allocations: 165.7 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.25, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.2501, allocations: 7.984 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2501, allocations: 7.938 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2501, allocations: 4 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2501, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2501, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.2502, allocations: 109.2 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.2503, allocations: 84.95 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2503, allocations: 4.031 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.2503, allocations: 3.984 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.2504, allocations: 4.062 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2504, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.2504, allocations: 87.27 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2504, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001881/0.2506, allocations: 16 kB / 1.068 GB, free: 10.16 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.0004321/0.2511, allocations: 0.6593 MB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.2511, allocations: 31.98 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2512, allocations: 0 / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.211e-05/0.2512, allocations: 19.92 kB / 1.068 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2513, allocations: 8 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009685/0.2523, allocations: 1.246 MB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2526, allocations: 0.6885 MB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.2526, allocations: 0 / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.2526, allocations: 16.56 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2526, allocations: 0 / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.802/3.054, allocations: 1.842 MB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/15.86, allocations: 10.97 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches