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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_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.01116/0.01116, allocations: 100.9 kB / 15.87 MB, free: 6.328 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.002739/0.002739, allocations: 194.1 kB / 16.79 MB, free: 6.254 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 461.9 MB / 0.7348 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.36 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00283/0.3129, allocations: 1.549 MB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003362/0.3132, allocations: 111.7 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.3133, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.685e-05/0.3134, allocations: 0 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.938e-05/0.3134, allocations: 7.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.3136, allocations: 19.92 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.3137, allocations: 43.84 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.3138, allocations: 4 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.3139, allocations: 27.91 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.3139, allocations: 15.92 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3139, allocations: 4 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.314, allocations: 15.98 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.314, allocations: 15.92 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3141, allocations: 19.86 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.381e-05/0.3142, allocations: 39.94 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3142, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3142, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.3142, allocations: 0 / 1.055 GB, free: 6.355 MB / 0.8106 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.0005382/0.3148, allocations: 387.4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3148, allocations: 15.97 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.3148, allocations: 4.844 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.315, allocations: 176.2 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.315, allocations: 8.312 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.315, allocations: 384 / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3153, allocations: 70.22 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3153, allocations: 4.188 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3153, allocations: 7.938 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3153, allocations: 0 / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.3156, allocations: 75.92 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.316, allocations: 281 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3163, allocations: 74.41 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3164, allocations: 44.91 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.3167, allocations: 105.1 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.3167, allocations: 34.56 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3167, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005738/0.3173, allocations: 157.6 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.3174, allocations: 51.41 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3175, allocations: 125.8 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3175, allocations: 29.7 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.3176, allocations: 96.06 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3176, allocations: 15.75 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3176, allocations: 13.72 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3177, allocations: 318.8 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3179, allocations: 39.97 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3181, allocations: 39.94 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.3184, allocations: 76.78 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3184, allocations: 3.938 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003337/0.3187, allocations: 117.5 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3187, allocations: 5.875 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3187, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3188, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3189, allocations: 15.98 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3189, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.092e-05/0.319, allocations: 23.97 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.319, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 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 0.0001002/0.3191, allocations: 117.8 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.3191, allocations: 7.906 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.3196, allocations: 125.5 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3196, allocations: 3.938 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3196, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3196, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.3198, allocations: 181.6 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3198, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.3199, allocations: 15.98 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3199, allocations: 3.938 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.32, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.32, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.32, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.3204, allocations: 211.3 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.3204, allocations: 85.02 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3205, allocations: 0 / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3206, allocations: 15.98 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.3206, allocations: 7.984 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3206, allocations: 4 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001118/0.3207, allocations: 99.2 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3208, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002383/0.321, allocations: 15.94 kB / 1.058 GB, free: 2.762 MB / 0.8106 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.0001496/0.3212, allocations: 101.7 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003434/0.3215, allocations: 79.92 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3215, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.3217, allocations: 43.95 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3219, allocations: 10.61 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.3223, allocations: 196.9 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3226, allocations: 0.6926 MB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.3227, allocations: 7.438 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.3227, allocations: 0 / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.002702/0.3254, allocations: 0.8858 MB / 1.06 GB, free: 0.6875 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) 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) Reference file matches