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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 219.1 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476 MB / 0.7707 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 66.08 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3325, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002951/0.3355, allocations: 1.508 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.3358, allocations: 103.7 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.3359, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.547e-05/0.3359, allocations: 3.938 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.336, allocations: 11.88 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.3362, allocations: 19.97 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.3362, allocations: 51.84 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.3363, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.3364, allocations: 23.91 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.3364, allocations: 19.92 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3365, allocations: 4 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.3365, allocations: 15.98 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.3366, allocations: 15.92 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.3366, allocations: 19.92 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3367, allocations: 55.73 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3367, allocations: 0 / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3367, allocations: 3.938 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3367, allocations: 8 kB / 1.286 GB, free: 10.08 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.0005337/0.3373, allocations: 306 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3373, allocations: 8.031 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3373, allocations: 4.938 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3374, allocations: 118.4 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3375, allocations: 8.375 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3375, allocations: 4.375 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.3377, allocations: 78.2 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3377, allocations: 192 / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3378, allocations: 3.938 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3378, allocations: 0 / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.3381, allocations: 75.86 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.3384, allocations: 220.6 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.3387, allocations: 70.53 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3388, allocations: 48.8 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.339, allocations: 31.97 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.339, allocations: 30.56 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.339, allocations: 0 / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005788/0.3396, allocations: 153.5 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3397, allocations: 55.41 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3398, allocations: 127.7 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3398, allocations: 25.7 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.3399, allocations: 96.06 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.3399, allocations: 7.953 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.3399, allocations: 21.72 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3401, allocations: 314.8 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3402, allocations: 35.97 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3404, allocations: 39.95 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.3407, allocations: 84.72 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3407, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000347/0.341, allocations: 117.8 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.341, allocations: 4 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.341, allocations: 0 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.3411, allocations: 0 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3412, allocations: 19.98 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3412, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.3413, allocations: 15.92 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3413, allocations: 0 / 1.288 GB, free: 7.824 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 9.257e-05/0.3414, allocations: 117.8 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3414, allocations: 15.88 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003993/0.3418, allocations: 121.5 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3418, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3418, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3418, allocations: 0 / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.342, allocations: 129.3 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.342, allocations: 0 / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.462e-05/0.3421, allocations: 15.92 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3421, allocations: 4 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3421, allocations: 4 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3421, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3421, allocations: 3.938 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.3425, allocations: 215.4 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.3425, allocations: 11.89 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3425, allocations: 3.984 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3426, allocations: 11.98 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3427, allocations: 4 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.3427, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.3428, allocations: 109.5 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3428, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002544/0.343, allocations: 8 kB / 1.288 GB, free: 7 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.0001446/0.3431, allocations: 95.25 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.3435, allocations: 79.92 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3435, allocations: 0 / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.3437, allocations: 47.89 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3439, allocations: 10.44 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.3443, allocations: 187.1 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.977e-05/0.3444, allocations: 67.34 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.3444, allocations: 7.438 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3444, allocations: 0 / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of Templates: time 0.002793/0.3472, allocations: 0.9121 MB / 1.29 GB, free: 5.551 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.680127806961536]