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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_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.009908/0.009908, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.002161/0.002161, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.839/2.839, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002629/0.3246, allocations: 1.492 MB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.3249, allocations: 104.6 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.325, allocations: 4 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.718e-05/0.325, allocations: 7.922 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.3251, allocations: 11.88 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3253, allocations: 23.97 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.904e-05/0.3254, allocations: 43.86 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3256, allocations: 11.98 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.3256, allocations: 19.92 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.3257, allocations: 23.91 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3257, allocations: 4 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.3258, allocations: 19.98 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.3258, allocations: 19.92 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.3259, allocations: 23.81 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.326, allocations: 55.73 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.326, allocations: 3.984 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.326, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3261, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 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.0005732/0.3266, allocations: 379.2 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3267, allocations: 8.031 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3267, allocations: 12.89 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3269, allocations: 176.3 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3269, allocations: 384 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3269, allocations: 8.375 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3272, allocations: 74.16 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3272, allocations: 192 / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3272, allocations: 3.938 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3272, allocations: 0 / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3275, allocations: 79.91 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.3279, allocations: 277 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.3281, allocations: 74.41 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.3283, allocations: 44.91 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002606/0.3285, allocations: 109.1 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3286, allocations: 34.56 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3286, allocations: 3.938 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005317/0.3291, allocations: 145.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3292, allocations: 55.41 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.61e-05/0.3293, allocations: 129.8 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3293, allocations: 25.7 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.3294, allocations: 92.14 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3294, allocations: 15.91 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.3294, allocations: 13.7 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3296, allocations: 318.8 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3297, allocations: 35.95 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3299, allocations: 39.95 kB / 1.17 GB, free: 2.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.3301, allocations: 84.78 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3301, allocations: 3.938 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003149/0.3305, allocations: 109.6 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3305, allocations: 12 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3305, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.3305, allocations: 0 / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.3307, allocations: 19.91 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3307, allocations: 4 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.3308, allocations: 11.98 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3308, allocations: 4 kB / 1.171 GB, free: 2.297 MB / 0.92 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.401e-05/0.3309, allocations: 123.7 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3309, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.3313, allocations: 125.5 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3313, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3313, allocations: 4 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3313, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3315, allocations: 181.5 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3315, allocations: 0 / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-05/0.3316, allocations: 23.92 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3316, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.3316, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3316, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3316, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.332, allocations: 211.4 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.332, allocations: 85.06 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.3321, allocations: 7.938 kB / 1.171 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3322, allocations: 11.97 kB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3322, allocations: 4 kB / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3323, allocations: 0 / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.3323, allocations: 99.27 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3323, allocations: 0 / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002235/0.3326, allocations: 12 kB / 1.172 GB, free: 1.32 MB / 0.92 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.0001515/0.3327, allocations: 111.2 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3331, allocations: 79.92 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3331, allocations: 0 / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.3332, allocations: 43.95 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.3335, allocations: 12.36 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3338, allocations: 149.4 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3341, allocations: 0.6885 MB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.701e-05/0.3341, allocations: 7.938 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.3341, allocations: 11.44 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of SimCode: time 3.5e-07/0.3341, allocations: 0 / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of Templates: time 0.003099/0.3373, allocations: 0.7987 MB / 1.173 GB, free: 15.38 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches