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.001068/0.001068, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01144/0.01144, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.649/2.649, allocations: 443.3 MB / 0.7175 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 11.44 kB / 0.8796 GB, free: 41.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3162, allocations: 155.2 MB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001492/0.3178, allocations: 1.222 MB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.3181, allocations: 105 kB / 1.032 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.3181, allocations: 4 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.3182, allocations: 0 / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.3182, allocations: 11.92 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.3184, allocations: 15.97 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.3185, allocations: 47.8 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.3185, allocations: 12 kB / 1.032 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.3186, allocations: 11.98 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.3187, allocations: 23.86 kB / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3187, allocations: 0 / 1.033 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.3187, allocations: 15.97 kB / 1.033 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.3188, allocations: 8 kB / 1.033 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.3188, allocations: 49.55 kB / 1.033 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3189, allocations: 55.8 kB / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.319, allocations: 0 / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.319, allocations: 0 / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.319, allocations: 0 / 1.033 GB, free: 2.773 MB / 0.7794 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.000495/0.3195, allocations: 383.5 kB / 1.033 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3195, allocations: 8.031 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3195, allocations: 8.844 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3197, allocations: 172.3 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3197, allocations: 4.375 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3197, allocations: 4.312 kB / 1.033 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.32, allocations: 82.22 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.32, allocations: 192 / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.32, allocations: 7.938 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.32, allocations: 8 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.3203, allocations: 95.91 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.3207, allocations: 288.8 kB / 1.034 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.321, allocations: 94.39 kB / 1.034 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3211, allocations: 52.91 kB / 1.034 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.3213, allocations: 109 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3214, allocations: 34.56 kB / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3214, allocations: 0 / 1.034 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005967/0.322, allocations: 177.6 kB / 1.034 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.322, allocations: 59.34 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.3221, allocations: 128.6 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3222, allocations: 25.7 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3222, allocations: 96.03 kB / 1.034 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.3222, allocations: 11.91 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.3223, allocations: 9.719 kB / 1.034 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3224, allocations: 322.8 kB / 1.035 GB, free: 412 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3226, allocations: 47.97 kB / 1.035 GB, free: 364 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3227, allocations: 47.95 kB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.3231, allocations: 96.78 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3231, allocations: 7.938 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000374/0.3234, allocations: 137.5 kB / 1.035 GB, free: 64 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3235, allocations: 11.94 kB / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3235, allocations: 0 / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3235, allocations: 0 / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3236, allocations: 19.98 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3237, allocations: 0 / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.3237, allocations: 19.98 kB / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3238, allocations: 0 / 1.035 GB, free: 12 kB / 0.7794 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.0001017/0.3239, allocations: 127.2 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3239, allocations: 4 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.3243, allocations: 137.5 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3243, allocations: 0 / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3244, allocations: 3.984 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3244, allocations: 0 / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3246, allocations: 185.5 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3246, allocations: 7.938 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3247, allocations: 27.97 kB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3247, allocations: 0 / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3247, allocations: 0 / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3247, allocations: 0 / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3247, allocations: 0 / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.3252, allocations: 231.7 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.3252, allocations: 89.02 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.3253, allocations: 48 / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.3254, allocations: 19.97 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.3254, allocations: 7.984 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3255, allocations: 4 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.3255, allocations: 95.27 kB / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 0 / 1.036 GB, free: 14.99 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002299/0.3258, allocations: 19.94 kB / 1.036 GB, free: 14.97 MB / 0.795 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.0001389/0.3259, allocations: 107.2 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.3263, allocations: 99.92 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3263, allocations: 0 / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.3265, allocations: 55.95 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3267, allocations: 13.7 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003073/0.327, allocations: 156.7 kB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3273, allocations: 0.6887 MB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.3274, allocations: 11.84 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3274, allocations: 11.44 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of SimCode: time 4e-07/0.3274, allocations: 0 / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of Templates: time 0.002753/0.3302, allocations: 0.6484 MB / 1.038 GB, free: 13.13 MB / 0.795 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches