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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.245/3.245, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 62.44 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3833, allocations: 173.9 MB / 1.304 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001825/0.3851, allocations: 0.529 MB / 1.304 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005437/0.3857, allocations: 199.7 kB / 1.305 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.3857, allocations: 0 / 1.305 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.3857, allocations: 3.938 kB / 1.305 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.3857, allocations: 4 kB / 1.305 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.3862, allocations: 59.78 kB / 1.305 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.761e-05/0.3862, allocations: 11.98 kB / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3863, allocations: 0 / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.3863, allocations: 7.984 kB / 1.305 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.3863, allocations: 11.94 kB / 1.305 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.3863, allocations: 0 / 1.305 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.3866, allocations: 139.8 kB / 1.305 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.3866, allocations: 7.984 kB / 1.305 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.3866, allocations: 7.938 kB / 1.305 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.3868, allocations: 68.05 kB / 1.305 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3868, allocations: 11.94 kB / 1.305 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3868, allocations: 0 / 1.305 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3868, allocations: 0 / 1.305 GB, free: 0.5352 MB / 0.9981 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.0003958/0.3872, allocations: 339.3 kB / 1.305 GB, free: 156 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3873, allocations: 12.62 kB / 1.305 GB, free: 144 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.3873, allocations: 30.75 kB / 1.305 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.3873, allocations: 4.938 kB / 1.305 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3875, allocations: 164.3 kB / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.3875, allocations: 384 / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3875, allocations: 4.375 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3876, allocations: 46.19 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3876, allocations: 3.938 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3876, allocations: 0 / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3877, allocations: 0 / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.3877, allocations: 15.98 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.3879, allocations: 157.7 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.3879, allocations: 22.58 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.3879, allocations: 8.922 kB / 1.306 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.388, allocations: 11.97 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.388, allocations: 38.5 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.388, allocations: 4 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005889/0.3886, allocations: 306.2 kB / 1.306 GB, free: 15.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3886, allocations: 51.41 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.479e-05/0.3887, allocations: 113.8 kB / 1.306 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3888, allocations: 29.7 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.3888, allocations: 84.12 kB / 1.306 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.3889, allocations: 16.17 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.3889, allocations: 17.7 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.389, allocations: 314.8 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.3891, allocations: 8 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.3891, allocations: 25.7 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.3892, allocations: 45.64 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3892, allocations: 4 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.3893, allocations: 65.64 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3893, allocations: 11.94 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3893, allocations: 0 / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3893, allocations: 0 / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.3894, allocations: 15.92 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3894, allocations: 0 / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.3894, allocations: 0 / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3894, allocations: 0 / 1.307 GB, free: 14.31 MB / 1.014 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.336e-05/0.3895, allocations: 113.9 kB / 1.307 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.3895, allocations: 15.88 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.3897, allocations: 65.58 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3897, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3897, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3897, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.3898, allocations: 169.7 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3898, allocations: 4 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.3899, allocations: 7.938 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3899, allocations: 7.938 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.3899, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3899, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3899, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.39, allocations: 109 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.3901, allocations: 81.05 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.3901, allocations: 0 / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.212e-05/0.3901, allocations: 4.031 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.3902, allocations: 8.062 kB / 1.307 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3902, allocations: 3.938 kB / 1.307 GB, free: 13.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.3902, allocations: 87.27 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3902, allocations: 0 / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000214/0.3904, allocations: 23.94 kB / 1.308 GB, free: 13.52 MB / 1.014 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.0005373/0.391, allocations: 0.6634 MB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.3911, allocations: 31.98 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3911, allocations: 3.938 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.3911, allocations: 19.97 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.3913, allocations: 2.062 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3924, allocations: 1.252 MB / 1.309 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.3928, allocations: 0.6768 MB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.794e-05/0.3928, allocations: 12.69 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.3928, allocations: 15.44 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.3928, allocations: 0 / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.42, allocations: 1.883 MB / 1.312 GB, free: 8.953 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.357, allocations: 10.98 kB / 1.312 GB, free: 8.945 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.145370800048113]