Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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.001672/0.001672, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00197/0.00197, allocations: 221.4 kB / 22.25 MB, free: 5.254 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.777 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.232/3.232, allocations: 0.49 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic",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.002121/0.002121, allocations: 70.14 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.401, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003486/0.4044, allocations: 1.513 MB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.4048, allocations: 99.73 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.4049, allocations: 0 / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.4049, allocations: 3.938 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.405, allocations: 7.938 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.4052, allocations: 23.91 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.4053, allocations: 47.91 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4054, allocations: 7.984 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.4055, allocations: 19.92 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.4056, allocations: 23.92 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.4056, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.4057, allocations: 19.98 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.4057, allocations: 15.92 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.4058, allocations: 15.88 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.4059, allocations: 64 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.4059, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4059, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.406, allocations: 11.94 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006326/0.4066, allocations: 303.1 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4066, allocations: 8.031 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.4067, allocations: 30.75 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.4067, allocations: 8.922 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4069, allocations: 122.4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4069, allocations: 4.375 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4069, allocations: 384 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.4072, allocations: 78.22 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4072, allocations: 7.922 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4072, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4072, allocations: 4 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.4075, allocations: 71.86 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.4079, allocations: 248 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.4081, allocations: 66.53 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4083, allocations: 44.92 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.4085, allocations: 27.97 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.4086, allocations: 38.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4086, allocations: 4 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000569/0.4091, allocations: 145.5 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4092, allocations: 55.34 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.4093, allocations: 132 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4093, allocations: 25.7 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.4094, allocations: 96.12 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.4094, allocations: 15.89 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.4095, allocations: 17.72 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4096, allocations: 318.8 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4098, allocations: 31.97 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.4099, allocations: 39.95 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.4102, allocations: 88.94 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4102, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003306/0.4105, allocations: 113.6 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4105, allocations: 8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.4105, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4106, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4107, allocations: 19.92 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4107, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.4108, allocations: 11.92 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4108, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 9.815e-05/0.4109, allocations: 122.3 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.4109, allocations: 3.953 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.4113, allocations: 121.5 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4113, allocations: 4 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4113, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4113, allocations: 3.984 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.4115, allocations: 144.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4115, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.4116, allocations: 15.97 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4116, allocations: 0 / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4116, allocations: 8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4116, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4116, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.412, allocations: 215.3 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.412, allocations: 7.953 kB / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.412, allocations: 0 / 1.33 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4121, allocations: 11.98 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.4122, allocations: 3.984 kB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.4122, allocations: 8 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.987e-05/0.4122, allocations: 99.27 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4122, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002239/0.4125, allocations: 8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.000753/0.4132, allocations: 0.7485 MB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.4136, allocations: 83.91 kB / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4136, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.4137, allocations: 35.97 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.414, allocations: 11.91 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.4145, allocations: 194.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.319e-05/0.4146, allocations: 79.33 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.707e-05/0.4146, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.4146, allocations: 19.36 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4146, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.4449, allocations: 2.465 MB / 1.334 GB, free: 8.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.43, allocations: 5.594 kB / 1.334 GB, free: 8.781 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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: 18.501255821989616]