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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7828/0.7841, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003151/0.7873, allocations: 1.483 MB / 0.951 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003812/0.7877, allocations: 106.6 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.696e-05/0.7878, allocations: 1.375 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.712e-05/0.7878, allocations: 3.938 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.7879, allocations: 17.23 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.7882, allocations: 21.47 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.7883, allocations: 37.48 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.7885, allocations: 13.3 kB / 0.9512 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.7886, allocations: 21.45 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.7886, allocations: 18.33 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.7887, allocations: 3.938 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.7887, allocations: 22.23 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.7888, allocations: 18.94 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.7889, allocations: 20.53 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.789, allocations: 59.17 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.789, allocations: 0 / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.789, allocations: 5.406 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.7891, allocations: 0 / 0.9514 GB, free: 7.652 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.0005828/0.7896, allocations: 372.7 kB / 0.9517 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7897, allocations: 13.19 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.7898, allocations: 3.781 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.785e-05/0.7899, allocations: 184.3 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.7899, allocations: 5.781 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.7899, allocations: 1.562 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.7902, allocations: 71.78 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7902, allocations: 4.125 kB / 0.952 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.7902, allocations: 3.938 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.7902, allocations: 1.5 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.7905, allocations: 78.41 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.7908, allocations: 278.7 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.791, allocations: 71.91 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.7912, allocations: 47.22 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.7914, allocations: 111.1 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.7915, allocations: 35.44 kB / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7915, allocations: 0 / 0.9526 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005474/0.792, allocations: 146.6 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.792, allocations: 52.72 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.7922, allocations: 129.8 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.7922, allocations: 25.7 kB / 0.9529 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.7922, allocations: 91.17 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.7923, allocations: 10.03 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.7923, allocations: 15.7 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.7924, allocations: 316.8 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.7925, allocations: 40.3 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.7927, allocations: 38.62 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.793, allocations: 78.91 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.793, allocations: 3.938 kB / 0.9535 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003601/0.7934, allocations: 122.5 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7934, allocations: 4.969 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.7934, allocations: 0 / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.7934, allocations: 1.125 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.7936, allocations: 22.19 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.7936, allocations: 1.062 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.7937, allocations: 14.58 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.7937, allocations: 5.344 kB / 0.9537 GB, free: 5.52 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 7.927e-05/0.7938, allocations: 122.1 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.7938, allocations: 6.031 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.7942, allocations: 117.1 kB / 0.9539 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7942, allocations: 4.938 kB / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7943, allocations: 0 / 0.9539 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.7943, allocations: 5.062 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.7944, allocations: 179.9 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7944, allocations: 0 / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/0.7945, allocations: 15.2 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7946, allocations: 0 / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7946, allocations: 5.125 kB / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.7946, allocations: 0 / 0.9541 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7946, allocations: 3.938 kB / 0.9541 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.795, allocations: 213.3 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.795, allocations: 78.45 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.795, allocations: 1.406 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.7951, allocations: 14.28 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.7952, allocations: 3.031 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.7952, allocations: 0 / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.7952, allocations: 105.1 kB / 0.9545 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.62e-07/0.7952, allocations: 0 / 0.9545 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002238/0.7955, allocations: 13.44 kB / 0.9545 GB, free: 4.707 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.0001418/0.7956, allocations: 100.5 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003545/0.796, allocations: 86.7 kB / 0.9547 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.796, allocations: 5.5 kB / 0.9547 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.7961, allocations: 40.17 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.7964, allocations: 12.81 kB / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.7968, allocations: 151.1 kB / 0.9549 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.7969, allocations: 0.6907 MB / 0.9556 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.797, allocations: 6.5 kB / 0.9556 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.797, allocations: 8.594 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.797, allocations: 1.344 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of Templates: time 0.003092/0.8001, allocations: 0.8017 MB / 0.9564 GB, free: 3.285 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches