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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002164/0.002164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002572/0.002573, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.686/1.686, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001469, allocations: 67.27 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2544, allocations: 157.4 MB / 1.052 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002562/0.257, allocations: 1.563 MB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.2573, allocations: 107.7 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.2573, allocations: 4 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.2574, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.2574, allocations: 3.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.2576, allocations: 19.97 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.2577, allocations: 47.8 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.2578, allocations: 12 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.2578, allocations: 19.92 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.441e-05/0.2579, allocations: 27.89 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2579, allocations: 7.938 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.258, allocations: 15.98 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.258, allocations: 15.98 kB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.258, allocations: 15.88 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2582, allocations: 55.81 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2582, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2582, allocations: 0 / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2582, allocations: 0 / 1.054 GB, free: 6.781 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.0004509/0.2586, allocations: 384.9 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2587, allocations: 8.625 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.2587, allocations: 34.69 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2587, allocations: 8.844 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2589, allocations: 180.2 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.2589, allocations: 384 / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2589, allocations: 8.375 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.2591, allocations: 74.22 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2591, allocations: 3.938 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2591, allocations: 3.938 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2592, allocations: 4 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.2594, allocations: 71.91 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.2598, allocations: 296.8 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.26, allocations: 62.53 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2601, allocations: 44.91 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.2603, allocations: 109.1 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2604, allocations: 34.56 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.2604, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004964/0.2609, allocations: 153.4 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2609, allocations: 51.41 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.261, allocations: 132.8 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.261, allocations: 25.7 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.2611, allocations: 88.14 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.2611, allocations: 11.81 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.2611, allocations: 17.7 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.2612, allocations: 318.8 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2614, allocations: 35.95 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.2615, allocations: 35.97 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.2617, allocations: 84.72 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2617, allocations: 7.938 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002932/0.262, allocations: 105.6 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2621, allocations: 4 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2621, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2621, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.2622, allocations: 23.92 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2622, allocations: 3.984 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2623, allocations: 15.98 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2623, allocations: 0 / 1.057 GB, free: 4.137 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.732e-05/0.2624, allocations: 113.8 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.2624, allocations: 7.906 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.2628, allocations: 129.8 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.2628, allocations: 48 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2628, allocations: 3.984 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2628, allocations: 0 / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.2629, allocations: 185.6 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2629, allocations: 3.938 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.263, allocations: 11.98 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.263, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.2631, allocations: 8 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2631, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2631, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.2634, allocations: 215.2 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2635, allocations: 85.02 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2635, allocations: 4 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2636, allocations: 15.97 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.2636, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.2636, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.2637, allocations: 103.3 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2637, allocations: 0 / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002187/0.2639, allocations: 8 kB / 1.057 GB, free: 3.156 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.0005797/0.2645, allocations: 0.7397 MB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.2648, allocations: 87.86 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2648, allocations: 0 / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.265, allocations: 39.95 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.2652, allocations: 11.94 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.2656, allocations: 210.9 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2658, allocations: 0.6885 MB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.2659, allocations: 7.859 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.2659, allocations: 11.44 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of SimCode: time 1.322e-06/0.2659, allocations: 3.938 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.456/1.722, allocations: 1.674 MB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/1.723, allocations: 198.9 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/4.049, allocations: 0 / 1.061 GB, free: 15.45 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