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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001049/0.001049, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.0009537/0.0009537, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.202/1.202, 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.2-maint.9.1.x/package.mo): time 2.027/2.027, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 66.19 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2329, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002422/0.2354, allocations: 1.48 MB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.2357, allocations: 96.58 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.2357, allocations: 3.938 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.2357, allocations: 7.938 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.2358, allocations: 19.84 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.236, allocations: 19.97 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.2361, allocations: 39.86 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.2362, allocations: 15.98 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.2362, allocations: 11.94 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.2363, allocations: 27.91 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2363, allocations: 8 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.2364, allocations: 23.92 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.2364, allocations: 15.97 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.2364, allocations: 23.81 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.2365, allocations: 43.88 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2366, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2366, allocations: 0 / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.2366, allocations: 7.984 kB / 0.9529 GB, free: 6.211 MB / 0.7325 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.00045/0.237, allocations: 383.1 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2371, allocations: 12.03 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.2371, allocations: 4.844 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2372, allocations: 184.2 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2372, allocations: 8.359 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.2372, allocations: 4.375 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.2375, allocations: 78.16 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2375, allocations: 192 / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2375, allocations: 7.938 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2375, allocations: 0 / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.2378, allocations: 75.91 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.2381, allocations: 277 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2383, allocations: 70.47 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2384, allocations: 48.84 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.2386, allocations: 105.1 kB / 0.9541 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2387, allocations: 42.56 kB / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2387, allocations: 0 / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004762/0.2392, allocations: 141.5 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.2392, allocations: 51.41 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.2393, allocations: 133.8 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2393, allocations: 25.7 kB / 0.9545 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2394, allocations: 92.08 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.2394, allocations: 7.906 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2394, allocations: 17.7 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.2395, allocations: 314.8 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.2397, allocations: 43.89 kB / 0.955 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.2398, allocations: 39.91 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.24, allocations: 80.78 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2401, allocations: 3.938 kB / 0.9551 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000284/0.2403, allocations: 113.5 kB / 0.9552 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2404, allocations: 4 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2404, allocations: 0 / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.2404, allocations: 4 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2405, allocations: 11.98 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2405, allocations: 3.984 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.2406, allocations: 19.92 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.2406, allocations: 0 / 0.9552 GB, free: 3.605 MB / 0.7325 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.406e-05/0.2407, allocations: 119.8 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2407, allocations: 7.906 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.241, allocations: 125.8 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2411, allocations: 0 / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2411, allocations: 0 / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2411, allocations: 4.047 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2412, allocations: 185.6 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2412, allocations: 0 / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.2413, allocations: 15.98 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2413, allocations: 4 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.2414, allocations: 0 / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2414, allocations: 0 / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2414, allocations: 3.938 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.2417, allocations: 215.3 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.2417, allocations: 81.11 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.2418, allocations: 0 / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.2419, allocations: 15.97 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.2419, allocations: 0 / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.2419, allocations: 4 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.242, allocations: 103.3 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.242, allocations: 0 / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002096/0.2422, allocations: 8 kB / 0.9561 GB, free: 2.625 MB / 0.7325 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.0001191/0.2423, allocations: 103.2 kB / 0.9562 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003/0.2426, allocations: 79.86 kB / 0.9562 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2426, allocations: 4 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2428, allocations: 39.95 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.243, allocations: 15.84 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.2433, allocations: 153.5 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2436, allocations: 0.6922 MB / 0.9571 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.622e-05/0.2436, allocations: 8 kB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.2436, allocations: 7.438 kB / 0.9571 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2436, allocations: 0 / 0.9571 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.00275/0.2464, allocations: 0.804 MB / 0.9579 GB, free: 0.6719 MB / 0.7325 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 -s cvode -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