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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 113.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 194.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 437.1 MB / 0.7177 GB, free: 4.426 MB / 0.5606 GB " [Timeout remaining time 177] 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=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002002, allocations: 71.88 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3092, allocations: 151.6 MB / 1.176 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002615/0.3119, allocations: 1.486 MB / 1.177 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003047/0.3122, allocations: 108.6 kB / 1.177 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.3122, allocations: 0 / 1.177 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.3123, allocations: 3.938 kB / 1.177 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.3124, allocations: 7.938 kB / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3126, allocations: 27.91 kB / 1.177 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.3127, allocations: 51.89 kB / 1.177 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.3128, allocations: 4 kB / 1.177 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.504e-05/0.3128, allocations: 19.92 kB / 1.178 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.3129, allocations: 23.91 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3129, allocations: 4 kB / 1.178 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.3129, allocations: 19.98 kB / 1.178 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.313, allocations: 11.94 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.313, allocations: 23.86 kB / 1.178 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3132, allocations: 63.67 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3132, allocations: 0 / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3132, allocations: 3.938 kB / 1.178 GB, free: 3.965 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3132, allocations: 0 / 1.178 GB, free: 3.965 MB / 0.92 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.0005594/0.3138, allocations: 383.1 kB / 1.178 GB, free: 3.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3138, allocations: 8.031 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3138, allocations: 8.891 kB / 1.178 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.314, allocations: 172.3 kB / 1.178 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.314, allocations: 4.375 kB / 1.178 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.314, allocations: 8.375 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3143, allocations: 78.2 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3143, allocations: 192 / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3143, allocations: 3.938 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3143, allocations: 0 / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.3146, allocations: 79.86 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.315, allocations: 281 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.3153, allocations: 70.47 kB / 1.179 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3155, allocations: 44.91 kB / 1.179 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.3157, allocations: 109.1 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3157, allocations: 38.5 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.3158, allocations: 0 / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005927/0.3164, allocations: 153.6 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3164, allocations: 59.39 kB / 1.179 GB, free: 2.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3165, allocations: 129.1 kB / 1.179 GB, free: 2.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.3165, allocations: 25.7 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3166, allocations: 88.12 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.3166, allocations: 15.91 kB / 1.179 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3167, allocations: 13.72 kB / 1.179 GB, free: 2.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3168, allocations: 322.8 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.317, allocations: 31.97 kB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.3172, allocations: 39.95 kB / 1.18 GB, free: 1.609 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.3175, allocations: 84.72 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3175, allocations: 3.938 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003461/0.3178, allocations: 109.6 kB / 1.18 GB, free: 1.406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3179, allocations: 8 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.3179, allocations: 0 / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3179, allocations: 4 kB / 1.18 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.318, allocations: 15.98 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.318, allocations: 0 / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.3181, allocations: 15.92 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3181, allocations: 4 kB / 1.18 GB, free: 1.359 MB / 0.92 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 8.423e-05/0.3182, allocations: 117.8 kB / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.3183, allocations: 0 / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.3187, allocations: 129.4 kB / 1.18 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3187, allocations: 7.938 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3187, allocations: 0 / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3187, allocations: 3.984 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3189, allocations: 173.6 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3189, allocations: 0 / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.319, allocations: 19.97 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.319, allocations: 4 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.319, allocations: 0 / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.319, allocations: 4 kB / 1.18 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.319, allocations: 4 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3195, allocations: 211.3 kB / 1.181 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3195, allocations: 85.06 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.3195, allocations: 4 kB / 1.181 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3196, allocations: 11.92 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.3197, allocations: 7.984 kB / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3197, allocations: 0 / 1.181 GB, free: 496 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.258e-05/0.3198, allocations: 99.27 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3198, allocations: 0 / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002254/0.32, allocations: 12 kB / 1.181 GB, free: 384 kB / 0.92 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.0001454/0.3202, allocations: 99.25 kB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.3206, allocations: 87.84 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3206, allocations: 0 / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3207, allocations: 40.28 kB / 1.181 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.321, allocations: 18.61 kB / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.3213, allocations: 175.1 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3217, allocations: 0.6846 MB / 1.182 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.3217, allocations: 11.44 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3217, allocations: 0 / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.002472/0.3242, allocations: 0.8916 MB / 1.183 GB, free: 14.32 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.376075760927051]