Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_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.005738/0.005738, allocations: 101.3 kB / 15.73 MB, free: 5.504 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.0012/0.0012, allocations: 195.2 kB / 16.67 MB, free: 5.434 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.947/2.947, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002386/0.3222, allocations: 1.488 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002807/0.3225, allocations: 99.72 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.3225, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.3226, allocations: 3.938 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.3226, allocations: 11.94 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.3228, allocations: 27.89 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.3229, allocations: 43.86 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.323, allocations: 7.984 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.3231, allocations: 15.98 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.3231, allocations: 19.86 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.3231, allocations: 4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.3232, allocations: 19.98 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/0.3232, allocations: 15.92 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.3232, allocations: 19.88 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.3234, allocations: 67.72 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3234, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3234, allocations: 3.938 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3234, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 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.0004832/0.3239, allocations: 375.2 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3239, allocations: 12.02 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3239, allocations: 16.88 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.324, allocations: 172.3 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.3241, allocations: 4.375 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.3241, allocations: 4.375 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3243, allocations: 74.2 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.3243, allocations: 4.125 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3243, allocations: 3.938 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3243, allocations: 4 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3246, allocations: 75.86 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.325, allocations: 296.8 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3252, allocations: 62.48 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.3253, allocations: 44.91 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000202/0.3255, allocations: 113.1 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3256, allocations: 30.56 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3256, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000536/0.3261, allocations: 149.5 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.3261, allocations: 55.41 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.3262, allocations: 121.8 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3262, allocations: 29.7 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.3263, allocations: 92.09 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3263, allocations: 11.94 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.3263, allocations: 13.72 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.3264, allocations: 318.8 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3266, allocations: 35.95 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3267, allocations: 39.95 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.327, allocations: 84.72 kB / 1.225 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.327, allocations: 3.938 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003116/0.3273, allocations: 105.6 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3273, allocations: 8 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3273, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3273, allocations: 4 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.3275, allocations: 23.97 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3275, allocations: 0 / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.3275, allocations: 7.984 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3275, allocations: 7.938 kB / 1.225 GB, free: 9.352 MB / 0.9825 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.717e-05/0.3276, allocations: 118.3 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3276, allocations: 3.953 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.328, allocations: 125.8 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.328, allocations: 4.031 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.328, allocations: 4 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.328, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3282, allocations: 181.5 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3282, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.3283, allocations: 19.98 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3283, allocations: 4 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3283, allocations: 4 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3283, allocations: 3.984 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3283, allocations: 4 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.3287, allocations: 207.3 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.3287, allocations: 85.09 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3287, allocations: 4 kB / 1.225 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3288, allocations: 7.984 kB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.3289, allocations: 4 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.3289, allocations: 0 / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.3289, allocations: 107.1 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3289, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000234/0.3292, allocations: 15.94 kB / 1.226 GB, free: 8.363 MB / 0.9825 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.0001291/0.3293, allocations: 99.25 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.3296, allocations: 75.92 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3296, allocations: 4 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3298, allocations: 43.89 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3301, allocations: 14.12 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.3305, allocations: 161.2 kB / 1.226 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3307, allocations: 0.6846 MB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.3308, allocations: 0 / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3308, allocations: 11.44 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.3308, allocations: 0 / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of Templates: time 0.00306/0.3338, allocations: 0.7955 MB / 1.227 GB, free: 6.43 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches