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.001044/0.001044, allocations: 90.83 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.008429/0.008429, allocations: 172.4 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.66/2.66, allocations: 437.8 MB / 0.7121 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7903, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001951/0.7923, allocations: 1.215 MB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004157/0.7927, allocations: 100.6 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.7928, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.7928, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.7929, allocations: 15.86 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.7931, allocations: 23.91 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.972e-05/0.7932, allocations: 39.86 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.7933, allocations: 12 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.276e-05/0.7934, allocations: 11.98 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.7935, allocations: 23.84 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.7935, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.256e-05/0.7936, allocations: 15.98 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.7936, allocations: 11.98 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.7937, allocations: 45.56 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.7939, allocations: 55.8 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7939, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7939, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.7939, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.7794 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.0006025/0.7945, allocations: 377.2 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7946, allocations: 12.03 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.7946, allocations: 4.844 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.7947, allocations: 184.2 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.7948, allocations: 4.375 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7948, allocations: 384 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.7951, allocations: 82.22 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.7951, allocations: 192 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.7951, allocations: 7.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7951, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.7955, allocations: 103.9 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.7959, allocations: 280.9 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.7961, allocations: 82.47 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.7963, allocations: 52.91 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.7966, allocations: 113 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7966, allocations: 38.48 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.7966, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006385/0.7972, allocations: 181.5 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.7973, allocations: 55.41 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7974, allocations: 125.8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.7975, allocations: 29.7 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.7975, allocations: 88.14 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7976, allocations: 11.81 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.7976, allocations: 9.719 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7978, allocations: 318.8 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.7979, allocations: 51.97 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.7981, allocations: 43.95 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.7984, allocations: 104.8 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7985, allocations: 11.81 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003846/0.7989, allocations: 133.6 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7989, allocations: 5.719 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7989, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7989, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.7991, allocations: 15.98 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7991, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.7992, allocations: 27.83 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.7992, allocations: 7.984 kB / 1.027 GB, free: 11.49 MB / 0.7794 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.744e-05/0.7993, allocations: 118.3 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.7993, allocations: 0 / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.7998, allocations: 141.5 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7998, allocations: 3.984 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7998, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7998, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.8, allocations: 185.6 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8, allocations: 0 / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.8001, allocations: 19.98 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.8002, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.8002, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8002, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8002, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.8006, allocations: 239.2 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.8007, allocations: 84.95 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.8007, allocations: 4 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.8009, allocations: 15.98 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.8009, allocations: 8.406 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.8009, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001018/0.801, allocations: 103.3 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8011, allocations: 4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002666/0.8013, allocations: 8 kB / 1.028 GB, free: 10.46 MB / 0.7794 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.0003025/0.8016, allocations: 103.2 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.8021, allocations: 107.9 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8021, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.8023, allocations: 55.89 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.8027, allocations: 15.88 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.8032, allocations: 156.7 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.8036, allocations: 0.6926 MB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.936e-05/0.8036, allocations: 3.938 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.8037, allocations: 7.438 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.8037, allocations: 0 / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003783/0.8075, allocations: 0.6523 MB / 1.03 GB, free: 8.625 MB / 0.7794 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