Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_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.001071/0.001071, 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.001074/0.001074, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7368, allocations: 140.4 MB / 0.949 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00213/0.739, allocations: 1.538 MB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002598/0.7392, allocations: 105.3 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.7393, allocations: 3.938 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.7393, allocations: 4 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.7394, allocations: 10.67 kB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.7395, allocations: 16.11 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.7396, allocations: 41.39 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.7397, allocations: 11.98 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.576e-05/0.7397, allocations: 17.61 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.7398, allocations: 25.94 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.7398, allocations: 6.781 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.7398, allocations: 18.55 kB / 0.9508 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.7399, allocations: 10.48 kB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.7399, allocations: 21.41 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.796e-05/0.74, allocations: 53.23 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.74, allocations: 1.344 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.74, allocations: 0 / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.145e-06/0.74, allocations: 0 / 0.9509 GB, free: 7.734 MB / 0.7169 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.000384/0.7404, allocations: 382.1 kB / 0.9512 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.7405, allocations: 9.688 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.7405, allocations: 36.27 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.7405, allocations: 3.094 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.7406, allocations: 180.1 kB / 0.9515 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.7406, allocations: 5.469 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.7406, allocations: 2.656 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.7408, allocations: 82.56 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7409, allocations: 9.219 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.7409, allocations: 0 / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.7409, allocations: 1.281 kB / 0.9516 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.7412, allocations: 70.3 kB / 0.9516 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.7414, allocations: 290.2 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.7416, allocations: 68.03 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.7417, allocations: 44.45 kB / 0.952 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.7419, allocations: 113.7 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.938e-06/0.742, allocations: 31.88 kB / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.742, allocations: 0 / 0.9522 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.7425, allocations: 146.5 kB / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.7425, allocations: 56.53 kB / 0.9523 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.597e-05/0.7425, allocations: 131.8 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.7426, allocations: 26.83 kB / 0.9525 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.7426, allocations: 90.64 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.7426, allocations: 9.328 kB / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.7426, allocations: 16.59 kB / 0.9526 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.803e-05/0.7427, allocations: 320.4 kB / 0.9529 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.7428, allocations: 42.27 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.743, allocations: 36.8 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.7432, allocations: 83.12 kB / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7432, allocations: 0 / 0.9531 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000284/0.7435, allocations: 111.4 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.7435, allocations: 5 kB / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.7435, allocations: 0 / 0.9532 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.7435, allocations: 7.875 kB / 0.9532 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7437, allocations: 22.66 kB / 0.9532 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7437, allocations: 1.281 kB / 0.9532 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.293e-05/0.7437, allocations: 18.52 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.7438, allocations: 1.094 kB / 0.9532 GB, free: 5.547 MB / 0.7169 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 4.698e-05/0.7438, allocations: 117 kB / 0.9533 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.7438, allocations: 11.3 kB / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.7442, allocations: 113.5 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7442, allocations: 4 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7442, allocations: 1.438 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7442, allocations: 384 / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.7443, allocations: 179.4 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7443, allocations: 1.219 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.7444, allocations: 18.02 kB / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7444, allocations: 0 / 0.9537 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.7444, allocations: 9.484 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7444, allocations: 0 / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7444, allocations: 3.984 kB / 0.9537 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.7447, allocations: 209.1 kB / 0.9539 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.7448, allocations: 83.66 kB / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.7448, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.7449, allocations: 12.14 kB / 0.954 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.7449, allocations: 13.3 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.7449, allocations: 1.531 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.745, allocations: 99.83 kB / 0.9541 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.745, allocations: 0 / 0.9541 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002166/0.7452, allocations: 8.75 kB / 0.9541 GB, free: 4.734 MB / 0.7169 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.0004604/0.7457, allocations: 0.7509 MB / 0.9548 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.746, allocations: 79.3 kB / 0.9549 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.746, allocations: 0 / 0.9549 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.7461, allocations: 48.92 kB / 0.9549 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.7464, allocations: 8.406 kB / 0.9549 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.7467, allocations: 194.1 kB / 0.9551 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.7469, allocations: 0.6983 MB / 0.9558 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.7469, allocations: 1.062 kB / 0.9558 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.7469, allocations: 21.67 kB / 0.9558 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.7469, allocations: 0 / 0.9558 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6555/1.402, allocations: 1.599 MB / 0.9574 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/1.403, allocations: 202.4 kB / 0.9576 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/3.035, allocations: 0 / 0.9576 GB, free: 1.965 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches