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.001374/0.001374, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001279/0.001279, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.384/2.384, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8922/0.8937, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002462/0.8962, allocations: 1.477 MB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003241/0.8966, allocations: 114.2 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/0.8966, allocations: 1.125 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.8967, allocations: 5.016 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.8967, allocations: 6.875 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.897, allocations: 24.44 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.515e-05/0.8971, allocations: 39.84 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.8972, allocations: 18.14 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.8973, allocations: 17.66 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.8973, allocations: 18.92 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.8973, allocations: 4.344 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.8974, allocations: 19.59 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.8975, allocations: 13.59 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.8975, allocations: 22.66 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.8977, allocations: 64.67 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8977, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8977, allocations: 1.25 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.8977, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 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.0004723/0.8982, allocations: 374.7 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8982, allocations: 9.562 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.8983, allocations: 12.86 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.8983, allocations: 172.5 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.8984, allocations: 3.047 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.8984, allocations: 1.469 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.8986, allocations: 77.44 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8987, allocations: 4.188 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8987, allocations: 9.469 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.8987, allocations: 0 / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.899, allocations: 76.05 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.8994, allocations: 285.1 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.8996, allocations: 67.38 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.8998, allocations: 45.86 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.9, allocations: 110.1 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.9, allocations: 40.25 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9, allocations: 0 / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000578/0.9006, allocations: 151 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.9006, allocations: 53.06 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.9007, allocations: 127.9 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.9007, allocations: 26.31 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.9008, allocations: 92.77 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.9008, allocations: 10.09 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.9008, allocations: 17.61 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.9009, allocations: 315.2 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.9011, allocations: 43.23 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.9012, allocations: 36.25 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.9015, allocations: 79.44 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9015, allocations: 11.88 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003382/0.9019, allocations: 108.8 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9019, allocations: 5.531 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.9019, allocations: 0 / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9019, allocations: 1.547 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.902, allocations: 15.25 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.902, allocations: 0.7812 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.9021, allocations: 19.27 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.9021, allocations: 1.406 kB / 1.093 GB, free: 2.355 MB / 0.8575 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 5.986e-05/0.9022, allocations: 119.3 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.9022, allocations: 6.719 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.9026, allocations: 123.7 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9026, allocations: 1.094 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.9027, allocations: 0 / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9027, allocations: 1.344 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.9028, allocations: 187.5 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9028, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.9029, allocations: 16.03 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.9029, allocations: 1.609 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9029, allocations: 0 / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.903, allocations: 0.7812 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.903, allocations: 5.297 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.9033, allocations: 220 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.9034, allocations: 83.33 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.9034, allocations: 1.312 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.9035, allocations: 16 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.9035, allocations: 7.578 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.9035, allocations: 1.641 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.9036, allocations: 95.77 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9036, allocations: 4.812 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002295/0.9038, allocations: 8.406 kB / 1.094 GB, free: 1.609 MB / 0.8575 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.0001298/0.904, allocations: 102.5 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.9043, allocations: 80.61 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9044, allocations: 3.938 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.9045, allocations: 39.08 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.9048, allocations: 16.59 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.9051, allocations: 180 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.9052, allocations: 0.6893 MB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.9053, allocations: 9.594 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9053, allocations: 0 / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of Templates: time 0.003014/0.9083, allocations: 0.8949 MB / 1.096 GB, free: 0.5547 MB / 0.8575 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/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