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.001507/0.001507, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002208/0.002208, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.544/1.544, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.525/2.525, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9191/0.9207, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002765/0.9235, allocations: 1.547 MB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000334/0.9238, allocations: 103.3 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.9239, allocations: 1.312 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.237e-05/0.924, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.924, allocations: 6.656 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.9243, allocations: 23.91 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.9244, allocations: 42.58 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.9245, allocations: 16.12 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.9246, allocations: 14.78 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.9246, allocations: 25.62 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.9247, allocations: 4.781 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-05/0.9247, allocations: 14.36 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.9248, allocations: 15.17 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.9249, allocations: 19.91 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.925, allocations: 63.89 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.925, allocations: 3.984 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.925, allocations: 0 / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.925, allocations: 1.25 kB / 0.9509 GB, free: 7.621 MB / 0.7169 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.0004999/0.9255, allocations: 375.9 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.9256, allocations: 9.812 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.9256, allocations: 3.281 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.9257, allocations: 184.8 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.9257, allocations: 5.75 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.9258, allocations: 1.875 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.926, allocations: 71.56 kB / 0.9516 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9261, allocations: 4.172 kB / 0.9516 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.9261, allocations: 3.938 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.9261, allocations: 1.375 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.9264, allocations: 87.12 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.9268, allocations: 280.9 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.927, allocations: 68.88 kB / 0.952 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.9271, allocations: 52.44 kB / 0.952 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.9274, allocations: 105.5 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.9274, allocations: 32.34 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.9275, allocations: 0 / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005637/0.928, allocations: 154.3 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.9281, allocations: 52.78 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.9282, allocations: 128.1 kB / 0.9525 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.9282, allocations: 25.7 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.9282, allocations: 94.89 kB / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.9282, allocations: 5.281 kB / 0.9526 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.9283, allocations: 20.45 kB / 0.9526 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.9283, allocations: 321.6 kB / 0.9529 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.9285, allocations: 40.89 kB / 0.953 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.9286, allocations: 33.41 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.9289, allocations: 79.41 kB / 0.9531 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9289, allocations: 3.938 kB / 0.9531 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003148/0.9292, allocations: 118.3 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.9293, allocations: 8.719 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.9293, allocations: 1.656 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9293, allocations: 0 / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.9294, allocations: 18.12 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.9294, allocations: 0 / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.9295, allocations: 14.86 kB / 0.9532 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.9295, allocations: 1.562 kB / 0.9532 GB, free: 5.484 MB / 0.7169 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 6.952e-05/0.9296, allocations: 116.9 kB / 0.9534 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.9296, allocations: 10.88 kB / 0.9534 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.93, allocations: 121.6 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.93, allocations: 1.5 kB / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.93, allocations: 0 / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.93, allocations: 0 / 0.9535 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.9302, allocations: 188.2 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9302, allocations: 1.406 kB / 0.9537 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.9303, allocations: 18.55 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.9303, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.9303, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9303, allocations: 1.469 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9303, allocations: 0 / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.9307, allocations: 217.4 kB / 0.9539 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.9307, allocations: 78.08 kB / 0.954 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.9307, allocations: 5.844 kB / 0.954 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.9308, allocations: 17.47 kB / 0.954 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.9309, allocations: 10.62 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.9309, allocations: 1.406 kB / 0.954 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.9309, allocations: 94.73 kB / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9309, allocations: 1.25 kB / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002261/0.9312, allocations: 16.09 kB / 0.9541 GB, free: 4.656 MB / 0.7169 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.0001534/0.9313, allocations: 100.9 kB / 0.9542 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.9317, allocations: 79.36 kB / 0.9543 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9317, allocations: 0 / 0.9543 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.9318, allocations: 52.86 kB / 0.9543 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.9321, allocations: 6.531 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.9324, allocations: 161.1 kB / 0.9545 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.9325, allocations: 0.6993 MB / 0.9552 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.9326, allocations: 1.094 kB / 0.9552 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.9326, allocations: 10.12 kB / 0.9552 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.9326, allocations: 0 / 0.9552 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.00288/0.9355, allocations: 0.6816 MB / 0.9558 GB, free: 3.289 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches