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.0007943/0.0007943, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.005376/0.005376, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.467/1.467, allocations: 223.2 MB / 240.3 MB, free: 5.352 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.538/2.538, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.000462, allocations: 16.17 kB / 0.8159 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.8862, allocations: 142.4 MB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001778/0.888, allocations: 1.206 MB / 0.9562 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004159/0.8884, allocations: 109.3 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.8885, allocations: 0 / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.8885, allocations: 4 kB / 0.9563 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.8886, allocations: 6.656 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.8888, allocations: 15.95 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.889, allocations: 48.8 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.8891, allocations: 5.062 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.8891, allocations: 17.64 kB / 0.9564 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.8892, allocations: 17.64 kB / 0.9564 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.8893, allocations: 6.531 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.978e-05/0.8893, allocations: 17.36 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.8894, allocations: 10.36 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.8895, allocations: 50.34 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.8896, allocations: 49.55 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8896, allocations: 1.062 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8896, allocations: 0 / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8896, allocations: 0 / 0.9566 GB, free: 6.531 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.000601/0.8902, allocations: 382.8 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.8903, allocations: 10.25 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.8904, allocations: 7.281 kB / 0.9569 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.8905, allocations: 185.2 kB / 0.9571 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.8905, allocations: 384 / 0.9571 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.8905, allocations: 2.781 kB / 0.9571 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.8908, allocations: 84.69 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.8909, allocations: 192 / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.8909, allocations: 5.188 kB / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.8909, allocations: 0 / 0.9572 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.8913, allocations: 94.83 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.8918, allocations: 290.5 kB / 0.9576 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.8921, allocations: 81.31 kB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.8924, allocations: 61.91 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.8928, allocations: 100.7 kB / 0.9578 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.8928, allocations: 32.03 kB / 0.9578 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.8928, allocations: 4 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0008676/0.8937, allocations: 184.5 kB / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.8938, allocations: 55.39 kB / 0.9581 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.8939, allocations: 121.2 kB / 0.9582 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.8939, allocations: 25.7 kB / 0.9582 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.8939, allocations: 98.81 kB / 0.9583 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.894, allocations: 17.05 kB / 0.9583 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.894, allocations: 11.03 kB / 0.9583 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.8941, allocations: 321.3 kB / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.8942, allocations: 42.28 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.8944, allocations: 51.77 kB / 0.9587 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.8947, allocations: 106.8 kB / 0.9588 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8947, allocations: 3.938 kB / 0.9588 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003689/0.8951, allocations: 134.4 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.8951, allocations: 4.406 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.8951, allocations: 1.094 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.8952, allocations: 4 kB / 0.959 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.8953, allocations: 19.52 kB / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.8953, allocations: 0 / 0.959 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.8954, allocations: 24.23 kB / 0.959 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.8954, allocations: 1.5 kB / 0.959 GB, free: 4.383 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 6.25e-05/0.8955, allocations: 121.2 kB / 0.9591 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.8955, allocations: 6.375 kB / 0.9591 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.8959, allocations: 145.4 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.896, allocations: 0 / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.896, allocations: 1.188 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.896, allocations: 0 / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.8961, allocations: 180.5 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8961, allocations: 0 / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.8963, allocations: 27 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8963, allocations: 1.188 kB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8963, allocations: 4 kB / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8963, allocations: 1.312 kB / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8963, allocations: 0 / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.8967, allocations: 236.5 kB / 0.9597 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.8967, allocations: 82.92 kB / 0.9598 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.8968, allocations: 3.938 kB / 0.9598 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8969, allocations: 20.2 kB / 0.9598 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.8969, allocations: 9.922 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.8969, allocations: 1.094 kB / 0.9598 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.154e-05/0.897, allocations: 99.55 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.603e-06/0.897, allocations: 0 / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003311/0.8974, allocations: 12.94 kB / 0.9599 GB, free: 3.551 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.0002172/0.8976, allocations: 105.8 kB / 0.96 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000414/0.898, allocations: 105.9 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.898, allocations: 1.375 kB / 0.9601 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.8982, allocations: 50.28 kB / 0.9602 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.8985, allocations: 10.67 kB / 0.9602 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.899, allocations: 163.1 kB / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.8992, allocations: 0.6839 MB / 0.961 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.8992, allocations: 5.359 kB / 0.961 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.8993, allocations: 12.81 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8993, allocations: 1.375 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of Templates: time 0.003315/0.9026, allocations: 0.6505 MB / 0.9617 GB, free: 2.195 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