Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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.001285/0.001285, allocations: 109 kB / 16.42 MB, free: 6.512 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.001429/0.001429, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9274, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002741/0.9302, allocations: 1.478 MB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003485/0.9305, allocations: 122.1 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.9306, allocations: 0 / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.9306, allocations: 4.641 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.9307, allocations: 7.438 kB / 1.09 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.931, allocations: 24.8 kB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.9311, allocations: 43.25 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.9312, allocations: 9.781 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.9313, allocations: 21.7 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.9313, allocations: 19.52 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.9314, allocations: 4 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.9315, allocations: 19.12 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.9315, allocations: 14.33 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.9316, allocations: 22.33 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.9317, allocations: 57.36 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.9317, allocations: 4 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9317, allocations: 0 / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9317, allocations: 5.094 kB / 1.09 GB, free: 4.543 MB / 0.8575 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.0005731/0.9323, allocations: 371.3 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.9324, allocations: 8.938 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.9324, allocations: 12.22 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.9326, allocations: 177.8 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.9326, allocations: 5.469 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.9326, allocations: 2.531 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.9329, allocations: 76.69 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.9329, allocations: 0.9688 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.933, allocations: 3.938 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.933, allocations: 0.9062 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.9333, allocations: 72.28 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.9337, allocations: 292 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.934, allocations: 67.91 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.9341, allocations: 43.22 kB / 1.092 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.9344, allocations: 116.6 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.9345, allocations: 32.22 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.9345, allocations: 1.062 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006425/0.9351, allocations: 154.5 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.9351, allocations: 53.2 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.9353, allocations: 124.2 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.9353, allocations: 26.55 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.9353, allocations: 91.95 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.9354, allocations: 10.7 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.9354, allocations: 12.52 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.9355, allocations: 323.9 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.9357, allocations: 34.59 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.9358, allocations: 36.34 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.9362, allocations: 84.58 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9362, allocations: 3.938 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003692/0.9365, allocations: 116.2 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.9366, allocations: 5.875 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9366, allocations: 0 / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.9366, allocations: 0.6875 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.9367, allocations: 24.28 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.9368, allocations: 0 / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.9369, allocations: 15.83 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.9369, allocations: 1.031 kB / 1.093 GB, free: 2.625 MB / 0.8575 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.684e-05/0.9369, allocations: 119.3 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.937, allocations: 7.5 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.9374, allocations: 122.7 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9374, allocations: 1.641 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9374, allocations: 0 / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.9374, allocations: 83.36 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.9375, allocations: 1.469 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.9376, allocations: 11.83 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.9376, allocations: 15.16 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004212/0.9381, allocations: 193.2 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003859/0.9385, allocations: 291.6 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001658/0.9386, allocations: 38.84 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.526e-05/0.9387, allocations: 103.2 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of Backend: time 3.81e-07/0.9387, allocations: 0 / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.9392, allocations: 120.6 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004551/0.9397, allocations: 0.5951 MB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of Templates: time 0.004297/0.944, allocations: 0.9831 MB / 1.095 GB, free: 1.125 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches