Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001483/0.001483, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 62.19 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002897/0.3134, allocations: 1.553 MB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.3137, allocations: 103.7 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.3137, allocations: 3.938 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/0.3138, allocations: 3.984 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.827e-05/0.3139, allocations: 7.938 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.3141, allocations: 19.98 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.3141, allocations: 43.8 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.3143, allocations: 11.97 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.3143, allocations: 23.92 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.3144, allocations: 15.92 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3144, allocations: 4 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.3144, allocations: 23.98 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.3145, allocations: 11.98 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.3145, allocations: 27.8 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.291e-05/0.3146, allocations: 35.94 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3146, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3147, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3147, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 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.0005709/0.3152, allocations: 375.5 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3153, allocations: 16.03 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.3153, allocations: 4.844 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.3155, allocations: 172.2 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3155, allocations: 4.375 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3155, allocations: 4.375 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3158, allocations: 74.2 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3158, allocations: 4.188 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3158, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3158, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.3161, allocations: 71.92 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.3165, allocations: 288.9 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3168, allocations: 70.47 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3169, allocations: 40.92 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.3172, allocations: 109.1 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3173, allocations: 42.56 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3173, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0006212/0.3179, allocations: 145.4 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.318, allocations: 55.41 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3181, allocations: 133.8 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.3181, allocations: 25.7 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3182, allocations: 100.1 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3182, allocations: 7.812 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.3183, allocations: 13.72 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3185, allocations: 318.8 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3187, allocations: 35.97 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3188, allocations: 43.89 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3191, allocations: 80.78 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3191, allocations: 3.938 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003507/0.3195, allocations: 117.5 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3195, allocations: 4 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3195, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3195, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.3197, allocations: 11.98 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3197, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.179e-05/0.3198, allocations: 15.98 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3198, allocations: 4 kB / 1.068 GB, free: 10.59 MB / 0.8419 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 9.408e-05/0.3199, allocations: 119.1 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3199, allocations: 11.91 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.3203, allocations: 117.5 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3203, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3203, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3203, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.3206, allocations: 181.6 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3206, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3207, allocations: 19.97 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3207, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3207, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3207, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3207, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.3211, allocations: 219.7 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.3212, allocations: 85.05 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3212, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3213, allocations: 15.92 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3214, allocations: 3.984 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3214, allocations: 12 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.81e-05/0.3214, allocations: 99.27 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3215, allocations: 0 / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002319/0.3217, allocations: 8 kB / 1.069 GB, free: 9.609 MB / 0.8419 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.0001483/0.3218, allocations: 99.25 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.3222, allocations: 83.91 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3223, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3224, allocations: 47.89 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.3227, allocations: 10.19 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.3231, allocations: 199 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.3235, allocations: 0.6923 MB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.3236, allocations: 11.44 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3236, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.002637/0.3262, allocations: 0.8883 MB / 1.071 GB, free: 7.527 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches