Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001747/0.001747, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002203/0.002203, allocations: 215.5 kB / 23.01 MB, free: 4.566 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.159/3.159, allocations: 0.505 GB / 0.8108 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_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.002162/0.002162, allocations: 64.94 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3088, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00299/0.3117, allocations: 1.522 MB / 1.356 GB, free: 6.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.3121, allocations: 103.7 kB / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.3122, allocations: 0 / 1.356 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.3122, allocations: 3.938 kB / 1.356 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.3123, allocations: 7.922 kB / 1.356 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.3126, allocations: 23.92 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.3127, allocations: 51.84 kB / 1.356 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3128, allocations: 7.984 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.3129, allocations: 15.98 kB / 1.356 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.313, allocations: 23.86 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.313, allocations: 4 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.105e-05/0.3131, allocations: 23.98 kB / 1.356 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.3131, allocations: 11.98 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.3132, allocations: 23.86 kB / 1.356 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3133, allocations: 63.67 kB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3133, allocations: 0 / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3134, allocations: 0 / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3134, allocations: 4 kB / 1.356 GB, free: 6.059 MB / 1.045 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.0006371/0.314, allocations: 306 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.314, allocations: 8.031 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.3141, allocations: 8.891 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3142, allocations: 115.2 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3142, allocations: 384 / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.3143, allocations: 4.375 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.3145, allocations: 82.14 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3145, allocations: 4.125 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3146, allocations: 3.938 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.3146, allocations: 4 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.3149, allocations: 75.86 kB / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.3153, allocations: 252 kB / 1.357 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.3155, allocations: 66.47 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3156, allocations: 44.91 kB / 1.357 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.3159, allocations: 35.97 kB / 1.357 GB, free: 4.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3159, allocations: 34.5 kB / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3159, allocations: 0 / 1.357 GB, free: 4.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005517/0.3164, allocations: 153.7 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.3165, allocations: 51.41 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3166, allocations: 128.1 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3166, allocations: 25.7 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.3167, allocations: 88.14 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.3167, allocations: 15.89 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3168, allocations: 13.72 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3169, allocations: 318.8 kB / 1.358 GB, free: 4.082 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.317, allocations: 39.95 kB / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.3172, allocations: 39.95 kB / 1.358 GB, free: 4.004 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3175, allocations: 80.7 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3175, allocations: 7.938 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003267/0.3178, allocations: 113.6 kB / 1.358 GB, free: 3.797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3178, allocations: 4 kB / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3178, allocations: 0 / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3178, allocations: 0 / 1.358 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.318, allocations: 19.97 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.318, allocations: 7.984 kB / 1.358 GB, free: 3.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.318, allocations: 15.92 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3181, allocations: 4 kB / 1.358 GB, free: 3.746 MB / 1.045 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.944e-05/0.3182, allocations: 122.4 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.3182, allocations: 0 / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.3186, allocations: 125.5 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3186, allocations: 4 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3186, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3186, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.3188, allocations: 168.5 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3188, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/0.3189, allocations: 11.98 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3189, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3189, allocations: 4 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3189, allocations: 3.938 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3189, allocations: 4 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.3193, allocations: 207.3 kB / 1.359 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.3193, allocations: 7.953 kB / 1.359 GB, free: 3.023 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3193, allocations: 3.984 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3194, allocations: 15.98 kB / 1.359 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3194, allocations: 4 kB / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3194, allocations: 0 / 1.359 GB, free: 3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.942e-05/0.3195, allocations: 103.2 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002278/0.3197, allocations: 12 kB / 1.359 GB, free: 2.887 MB / 1.045 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.0001383/0.3199, allocations: 91.25 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3202, allocations: 83.86 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3202, allocations: 0 / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3204, allocations: 43.95 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.3206, allocations: 10.12 kB / 1.359 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.321, allocations: 183.6 kB / 1.359 GB, free: 2.445 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3214, allocations: 0.6885 MB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.3214, allocations: 7.438 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.3214, allocations: 0 / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of Templates: time 0.002573/0.324, allocations: 0.8964 MB / 1.361 GB, free: 0.832 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.945654037001077]