Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008295/0.0008295, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8786/0.8786, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.688 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.04e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001073/0.001093, allocations: 0.5282 MB / 0.9815 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003831/0.001476, allocations: 179.4 kB / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.001498, allocations: 0 / 0.9816 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.001531, allocations: 4 kB / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.001571, allocations: 0 / 0.9816 GB, free: 1.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.001991, allocations: 63.72 kB / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.00205, allocations: 23.91 kB / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.002093, allocations: 0 / 0.9817 GB, free: 1.844 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.002129, allocations: 7.984 kB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.002161, allocations: 4 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.002176, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.002374, allocations: 155.7 kB / 0.9819 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.002417, allocations: 11.94 kB / 0.9819 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.002434, allocations: 4 kB / 0.9819 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.002581, allocations: 83.8 kB / 0.982 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002583, allocations: 0 / 0.982 GB, free: 1.582 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002584, allocations: 4 kB / 0.982 GB, free: 1.578 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002588, allocations: 0 / 0.982 GB, free: 1.578 MB / 0.9323 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.0003617/0.00295, allocations: 262.2 kB / 0.9822 GB, free: 1.289 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.002987, allocations: 8.031 kB / 0.9822 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.003014, allocations: 38.75 kB / 0.9823 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.003036, allocations: 4.938 kB / 0.9823 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.809e-05/0.003104, allocations: 113.6 kB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003114, allocations: 8.359 kB / 0.9824 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.003132, allocations: 4.375 kB / 0.9824 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.003225, allocations: 67.95 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003232, allocations: 192 / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.003239, allocations: 384 / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.003244, allocations: 4.125 kB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.003264, allocations: 11.98 kB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001205/0.003385, allocations: 132.8 kB / 0.9826 GB, free: 0.8164 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.003431, allocations: 26.52 kB / 0.9826 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.003449, allocations: 12.92 kB / 0.9826 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.003485, allocations: 4 kB / 0.9826 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.003506, allocations: 42.55 kB / 0.9827 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.003507, allocations: 0 / 0.9827 GB, free: 0.7109 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3): time 0.0004398/0.003947, allocations: 217.2 kB / 0.9829 GB, free: 476 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.003973, allocations: 59.33 kB / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.004029, allocations: 109.8 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.004039, allocations: 29.7 kB / 0.9831 GB, free: 248 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.004066, allocations: 80.14 kB / 0.9832 GB, free: 164 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.004087, allocations: 15.91 kB / 0.9832 GB, free: 148 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.00411, allocations: 13.94 kB / 0.9832 GB, free: 128 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.004194, allocations: 322.8 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.00421, allocations: 8 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.004238, allocations: 25.7 kB / 0.9835 GB, free: 15.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.004285, allocations: 49.64 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.004286, allocations: 0 / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.737e-05/0.004353, allocations: 65.62 kB / 0.9836 GB, free: 15.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.004365, allocations: 4 kB / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004369, allocations: 0 / 0.9836 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.004382, allocations: 8 kB / 0.9836 GB, free: 15.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.004431, allocations: 11.94 kB / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.004435, allocations: 0 / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.198e-06/0.004445, allocations: 0 / 0.9837 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.004451, allocations: 4.312 kB / 0.9837 GB, free: 15.61 MB / 0.948 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 5.265e-05/0.004503, allocations: 117.8 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/0.00451, allocations: 7.953 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.004611, allocations: 81.53 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.004615, allocations: 3.938 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.004618, allocations: 0 / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.004621, allocations: 4 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.135e-05/0.004692, allocations: 132.8 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004693, allocations: 0 / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.544e-05/0.004729, allocations: 4 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.004731, allocations: 4 kB / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.004738, allocations: 7.984 kB / 0.984 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.004744, allocations: 3.938 kB / 0.984 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004745, allocations: 0 / 0.984 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.00485, allocations: 105.3 kB / 0.9841 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-06/0.004856, allocations: 3.953 kB / 0.9841 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.004865, allocations: 4.062 kB / 0.9841 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.0049, allocations: 7.969 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.004913, allocations: 7.922 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.004916, allocations: 0 / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.004942, allocations: 87.28 kB / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004942, allocations: 0 / 0.9842 GB, free: 14.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001356/0.005078, allocations: 19.98 kB / 0.9842 GB, free: 14.94 MB / 0.948 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.000314/0.005392, allocations: 0.6593 MB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.603e-05/0.005468, allocations: 39.86 kB / 0.9849 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.00547, allocations: 4.188 kB / 0.9849 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.574e-05/0.005486, allocations: 19.98 kB / 0.9849 GB, free: 14.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.0056, allocations: 10.11 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007968/0.006397, allocations: 1.244 MB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.535e-05/0.006442, allocations: 63.34 kB / 0.9862 GB, free: 12.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.006466, allocations: 7.953 kB / 0.9862 GB, free: 12.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.006497, allocations: 16.5 kB / 0.9863 GB, free: 12.74 MB / 0.948 GB Notification: Performance of SimCode: time 8.42e-07/0.006498, allocations: 3.938 kB / 0.9863 GB, free: 12.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.02173, allocations: 2.509 MB / 0.9887 GB, free: 10.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.304/6.326, allocations: 6.031 kB / 0.9887 GB, free: 10.36 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.387150224298239]