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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00152/0.00152, allocations: 214.4 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.039/3.039, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.56 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001901/0.3487, allocations: 0.5379 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.3493, allocations: 179.8 kB / 1.326 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.3493, allocations: 0 / 1.326 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.3493, allocations: 0 / 1.326 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.919e-05/0.3494, allocations: 4 kB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.3498, allocations: 75.7 kB / 1.326 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.425e-05/0.3499, allocations: 7.984 kB / 1.326 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.3499, allocations: 0 / 1.326 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.462e-05/0.3499, allocations: 11.98 kB / 1.326 GB, free: 1.586 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.409e-05/0.35, allocations: 11.94 kB / 1.326 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.35, allocations: 0 / 1.326 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.3503, allocations: 159.6 kB / 1.326 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.181e-05/0.3503, allocations: 8 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.3503, allocations: 3.938 kB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3505, allocations: 80.05 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3505, allocations: 0 / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3505, allocations: 0 / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3505, allocations: 0 / 1.326 GB, free: 1.328 MB / 1.014 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.0003483/0.3508, allocations: 262.2 kB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3509, allocations: 16.03 kB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.3509, allocations: 30.75 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.351, allocations: 4.891 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3511, allocations: 110.5 kB / 1.326 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.3511, allocations: 384 / 1.326 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.3511, allocations: 384 / 1.326 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.3512, allocations: 67.91 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3512, allocations: 3.938 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3512, allocations: 4 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3512, allocations: 7.969 kB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.3513, allocations: 8 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3514, allocations: 140.7 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.3515, allocations: 22.58 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.3515, allocations: 20.84 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.3515, allocations: 4 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3516, allocations: 30.56 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3516, allocations: 4 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005076/0.3521, allocations: 221.1 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.3521, allocations: 59.62 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.3522, allocations: 109.8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3522, allocations: 25.7 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.3523, allocations: 84.14 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3523, allocations: 11.91 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.3523, allocations: 17.7 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3525, allocations: 322.8 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.3525, allocations: 8 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.484e-05/0.3525, allocations: 29.7 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.3526, allocations: 41.64 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3526, allocations: 4 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.863e-05/0.3527, allocations: 61.69 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.3527, allocations: 11.94 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3527, allocations: 3.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3527, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.3528, allocations: 15.92 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3528, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.3528, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3528, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 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.582e-05/0.3529, allocations: 121.1 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.3529, allocations: 7.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.3531, allocations: 69.62 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3531, allocations: 3.938 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3531, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3531, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3532, allocations: 140.7 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3532, allocations: 3.984 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3533, allocations: 4 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3533, allocations: 3.938 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3533, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3533, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3533, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.3535, allocations: 97.11 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.3535, allocations: 11.97 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.3535, allocations: 3.984 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.3536, allocations: 4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.3536, allocations: 4.234 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.3536, allocations: 0 / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.734e-05/0.3537, allocations: 99.5 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3537, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002075/0.3539, allocations: 24 kB / 1.328 GB, free: 14.68 MB / 1.029 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.0005412/0.3544, allocations: 0.6631 MB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3545, allocations: 31.92 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3545, allocations: 4 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.3545, allocations: 8 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.3547, allocations: 9.547 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3559, allocations: 1.244 MB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.356, allocations: 67.44 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.356, allocations: 8 kB / 1.33 GB, free: 12.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.356, allocations: 11.44 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.356, allocations: 0 / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.3863, allocations: 2.378 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.66, allocations: 11.09 kB / 1.333 GB, free: 10.25 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 16.97140877926722]