Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_10_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.007881/0.007882, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001916/0.001916, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.89 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7295, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002457/0.732, allocations: 1.494 MB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002826/0.7323, allocations: 107 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.7324, allocations: 0 / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.7324, allocations: 7.922 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.7325, allocations: 3.938 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.7327, allocations: 35.91 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.7328, allocations: 39.91 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.7329, allocations: 11.98 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.7329, allocations: 19.92 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.733, allocations: 19.92 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.733, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.485e-05/0.7331, allocations: 19.98 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.7331, allocations: 15.92 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.7332, allocations: 15.88 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.7333, allocations: 67.78 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7333, allocations: 3.938 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7333, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7333, allocations: 0 / 1.168 GB, free: 1.938 MB / 0.8887 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.0005304/0.7339, allocations: 377.5 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.7339, allocations: 8.922 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.734, allocations: 34.73 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.734, allocations: 8.844 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7341, allocations: 177.7 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.7342, allocations: 4.375 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.7342, allocations: 4.375 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.7344, allocations: 74.2 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.7345, allocations: 3.938 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.7345, allocations: 0 / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7345, allocations: 4 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.7348, allocations: 79.8 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.7351, allocations: 292.8 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.7353, allocations: 58.64 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.7355, allocations: 48.81 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.7358, allocations: 113.1 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7358, allocations: 38.44 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.7358, allocations: 0 / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005147/0.7363, allocations: 149.6 kB / 1.169 GB, free: 304 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7364, allocations: 51.41 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.7365, allocations: 125.8 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.7365, allocations: 25.7 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.7366, allocations: 96.05 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.7366, allocations: 11.89 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.7366, allocations: 13.72 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7367, allocations: 314.8 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.7369, allocations: 35.95 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.737, allocations: 39.95 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.7373, allocations: 88.66 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7373, allocations: 4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003009/0.7376, allocations: 105.9 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7376, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7377, allocations: 7.984 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.7377, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.7378, allocations: 23.97 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.7378, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.7379, allocations: 15.92 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7379, allocations: 0 / 1.17 GB, free: 15.3 MB / 0.9044 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 8.232e-05/0.738, allocations: 117.8 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.738, allocations: 11.98 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.7384, allocations: 117.5 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7384, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7384, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7384, allocations: 0 / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.7386, allocations: 189.5 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7386, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.7387, allocations: 15.98 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.7387, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7387, allocations: 7.984 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7387, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7387, allocations: 0 / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.7391, allocations: 207.4 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.7391, allocations: 92.94 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.7391, allocations: 3.938 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.7392, allocations: 11.98 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.7393, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.7393, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.7393, allocations: 109.8 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7394, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002321/0.7396, allocations: 8 kB / 1.171 GB, free: 14.31 MB / 0.9044 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.0006034/0.7402, allocations: 0.7474 MB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.7405, allocations: 79.92 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7405, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.7407, allocations: 39.95 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.7409, allocations: 8 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.7415, allocations: 183.1 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.7418, allocations: 0.6962 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.7418, allocations: 0 / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.7419, allocations: 15.44 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.7419, allocations: 0 / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.7603, allocations: 1.872 MB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.701, allocations: 10.39 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches