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.001688/0.001688, 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.00227/0.00227, allocations: 212.4 kB / 22.24 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.797 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.373/3.373, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002107/0.002107, allocations: 66.89 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4471, allocations: 176.1 MB / 1.325 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002883/0.45, allocations: 1.498 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003694/0.4504, allocations: 99.73 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.4504, allocations: 4 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.4505, allocations: 3.938 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.4505, allocations: 3.938 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.4508, allocations: 31.89 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.4509, allocations: 43.84 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.451, allocations: 8 kB / 1.327 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.451, allocations: 19.92 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.4511, allocations: 15.92 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.4511, allocations: 4 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.4512, allocations: 23.98 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.4513, allocations: 15.92 kB / 1.327 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.4513, allocations: 15.92 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.4514, allocations: 63.95 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4514, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4514, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4515, allocations: 0 / 1.327 GB, free: 456 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.0005666/0.452, allocations: 302 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4521, allocations: 12.03 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.4521, allocations: 38.73 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.4521, allocations: 8.891 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4523, allocations: 125.2 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4523, allocations: 4.359 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.4523, allocations: 8.375 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.4526, allocations: 74.2 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4526, allocations: 3.938 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.4526, allocations: 0 / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4526, allocations: 3.938 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.4529, allocations: 75.92 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4533, allocations: 252 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.4535, allocations: 62.53 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.4537, allocations: 48.91 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.4539, allocations: 31.92 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4539, allocations: 34.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4539, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005678/0.4545, allocations: 157.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4545, allocations: 51.41 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4547, allocations: 125.8 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4547, allocations: 25.7 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.4547, allocations: 96.12 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.4548, allocations: 7.906 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.4548, allocations: 17.72 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.455, allocations: 318.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4551, allocations: 39.97 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4553, allocations: 39.89 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4555, allocations: 80.72 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4555, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003298/0.4559, allocations: 113.6 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4559, allocations: 6.5 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4559, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4559, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.456, allocations: 15.98 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.456, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.4561, allocations: 19.92 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4561, allocations: 7.984 kB / 1.329 GB, free: 14.09 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.0001032/0.4562, allocations: 124.9 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.4563, allocations: 7.953 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.4567, allocations: 113.9 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4567, allocations: 3.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4567, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4567, allocations: 4.031 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.4569, allocations: 148.7 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4569, allocations: 0 / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.873e-05/0.457, allocations: 27.91 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.457, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.457, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.457, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.457, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.4574, allocations: 223.2 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.4574, allocations: 7.953 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.4574, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.966e-05/0.4575, allocations: 7.984 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.4575, allocations: 11.98 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4575, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.985e-05/0.4576, allocations: 95.27 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4576, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002271/0.4578, allocations: 12 kB / 1.33 GB, free: 13.23 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.0007563/0.4586, allocations: 0.7435 MB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.4589, allocations: 79.91 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4589, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4591, allocations: 43.97 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4594, allocations: 15.89 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005681/0.4599, allocations: 198.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.424e-05/0.46, allocations: 67.34 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.46, allocations: 4 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.4601, allocations: 23.42 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4601, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/0.4911, allocations: 2.44 MB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.53, allocations: 10.23 kB / 1.333 GB, free: 9.676 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.9128092341125]