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.001317/0.001317, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.001645/0.001645, allocations: 214.6 kB / 22.24 MB, free: 5.102 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.809 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.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002103/0.002103, allocations: 68.19 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4177, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002831/0.4206, allocations: 1.498 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000332/0.4209, allocations: 99.73 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.4209, allocations: 0 / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.565e-05/0.421, allocations: 7.875 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.4211, allocations: 19.84 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.4213, allocations: 19.98 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.4214, allocations: 47.91 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.4214, allocations: 0 / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.4215, allocations: 19.92 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.4216, allocations: 19.86 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.4216, allocations: 4 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.4216, allocations: 19.98 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.4217, allocations: 15.92 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.4217, allocations: 23.84 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.4219, allocations: 52.09 kB / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4219, allocations: 0 / 1.327 GB, free: 496 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4219, allocations: 7.938 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4219, allocations: 4 kB / 1.327 GB, free: 484 kB / 1.014 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.0005647/0.4224, allocations: 306 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4225, allocations: 8.031 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.4225, allocations: 34.75 kB / 1.327 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.4225, allocations: 8.891 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.4227, allocations: 126.4 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4227, allocations: 4.359 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.4227, allocations: 4.375 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.423, allocations: 82.14 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.423, allocations: 3.938 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.423, allocations: 0 / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.423, allocations: 4 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.4233, allocations: 71.92 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.4237, allocations: 252 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.4239, allocations: 66.47 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.4241, allocations: 44.91 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.4243, allocations: 23.98 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.4243, allocations: 46.55 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4243, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006215/0.425, allocations: 141.5 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.425, allocations: 51.41 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4252, allocations: 136.5 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.4252, allocations: 29.64 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.4252, allocations: 92.14 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.4253, allocations: 11.91 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.4253, allocations: 13.72 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4254, allocations: 322.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4256, allocations: 35.95 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.4257, allocations: 35.91 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.426, allocations: 88.72 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.426, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003309/0.4264, allocations: 105.6 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4264, allocations: 8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4264, allocations: 0 / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4264, allocations: 7.938 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.4265, allocations: 15.92 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4265, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.4266, allocations: 19.91 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4266, allocations: 4 kB / 1.329 GB, free: 14.11 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 0.000109/0.4267, allocations: 114.3 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.4268, allocations: 3.953 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003996/0.4272, allocations: 125.9 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4272, allocations: 4 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4272, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4272, allocations: 4.031 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.4274, allocations: 140.7 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4274, allocations: 11.98 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.4275, allocations: 15.92 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4275, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.4275, allocations: 4 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4275, allocations: 4 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4275, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.4279, allocations: 207.4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.428, allocations: 7.953 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.428, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4281, allocations: 19.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.4282, allocations: 3.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4282, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.4282, allocations: 95.27 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4282, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002451/0.4285, allocations: 12 kB / 1.33 GB, free: 13.27 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.0008438/0.4293, allocations: 0.7435 MB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003902/0.4297, allocations: 79.91 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4297, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.4299, allocations: 43.89 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4302, allocations: 11.84 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.4308, allocations: 199 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.4309, allocations: 63.34 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.4309, allocations: 11.92 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.431, allocations: 15.44 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of SimCode: time 8.32e-07/0.431, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.462, allocations: 2.454 MB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 0 / 1.333 GB, free: 9.703 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.956243436783552]