Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 192.2 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 61.89 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2393, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002338/0.2417, allocations: 1.553 MB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.2419, allocations: 115.7 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.242, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.242, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.2421, allocations: 7.938 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001024/0.2422, allocations: 23.97 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.2422, allocations: 43.78 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.2423, allocations: 8 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.2423, allocations: 19.92 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.2424, allocations: 15.92 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.2424, allocations: 4 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.2424, allocations: 19.97 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.2425, allocations: 8 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.2425, allocations: 23.8 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.2426, allocations: 59.86 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2426, allocations: 0 / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.91e-07/0.2426, allocations: 0 / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.2426, allocations: 0 / 1.054 GB, free: 6.289 MB / 0.8106 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.0004071/0.243, allocations: 375.5 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.243, allocations: 8.031 kB / 1.054 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.2431, allocations: 34.75 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.2431, allocations: 8.844 kB / 1.054 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/0.2432, allocations: 180.2 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.2432, allocations: 4.375 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.2432, allocations: 384 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.2434, allocations: 70.22 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2435, allocations: 7.875 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2435, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2435, allocations: 4 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.2438, allocations: 75.92 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.244, allocations: 292.8 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.2442, allocations: 66.53 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.2444, allocations: 48.91 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.2446, allocations: 101.1 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.2446, allocations: 30.56 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2446, allocations: 8 kB / 1.055 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004896/0.2451, allocations: 157.4 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.2451, allocations: 51.41 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.2452, allocations: 124.6 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.2452, allocations: 25.7 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.2453, allocations: 104.1 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.2453, allocations: 7.812 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.2453, allocations: 17.72 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.2454, allocations: 318.8 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2456, allocations: 39.97 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2457, allocations: 39.95 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.246, allocations: 80.72 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.246, allocations: 0 / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003017/0.2463, allocations: 113.5 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.2463, allocations: 8 kB / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.2463, allocations: 0 / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-06/0.2463, allocations: 0 / 1.056 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2464, allocations: 15.98 kB / 1.056 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2464, allocations: 3.984 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.431e-05/0.2465, allocations: 15.97 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.2465, allocations: 0 / 1.056 GB, free: 3.648 MB / 0.8106 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 6.326e-05/0.2466, allocations: 121.8 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2466, allocations: 7.906 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.247, allocations: 121.4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.247, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.247, allocations: 4 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.247, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.2472, allocations: 189.5 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2472, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.2473, allocations: 11.98 kB / 1.057 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2473, allocations: 4 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.2473, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2473, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2473, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.2476, allocations: 211.3 kB / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2477, allocations: 85.02 kB / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2477, allocations: 0 / 1.057 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.2478, allocations: 11.98 kB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.2478, allocations: 11.92 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2478, allocations: 0 / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.914e-05/0.2479, allocations: 99.27 kB / 1.057 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2479, allocations: 4 kB / 1.057 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002101/0.2481, allocations: 8 kB / 1.057 GB, free: 2.668 MB / 0.8106 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.00056/0.2487, allocations: 0.744 MB / 1.058 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.249, allocations: 83.89 kB / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.249, allocations: 0 / 1.058 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2491, allocations: 43.95 kB / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2493, allocations: 11.88 kB / 1.058 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.2497, allocations: 204.8 kB / 1.058 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.2499, allocations: 0.6848 MB / 1.059 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.2499, allocations: 7.859 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.25, allocations: 19.44 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of SimCode: time 3.9e-07/0.25, allocations: 0 / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/1.38, allocations: 1.604 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/1.381, allocations: 195.4 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/3.112, allocations: 7.938 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches