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.0009964/0.0009964, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 178.1 kB / 16.92 MB, free: 6.648 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003749, allocations: 9.312 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2908, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001563/0.2924, allocations: 1.214 MB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.2928, allocations: 107.7 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.2928, allocations: 0 / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.2928, allocations: 0 / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.2929, allocations: 11.92 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.2931, allocations: 19.92 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.2932, allocations: 43.86 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.2932, allocations: 7.984 kB / 1.061 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.2933, allocations: 8 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.2933, allocations: 27.84 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.2934, allocations: 3.984 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.338e-05/0.2934, allocations: 19.98 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.2935, allocations: 4 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.2935, allocations: 49.56 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.529e-05/0.2936, allocations: 35.94 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2937, allocations: 7.938 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2937, allocations: 0 / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2937, allocations: 0 / 1.061 GB, free: 3.391 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.0004828/0.2942, allocations: 387.5 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2942, allocations: 11.97 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.2942, allocations: 8.844 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2944, allocations: 176.3 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2944, allocations: 4.375 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2944, allocations: 384 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.2947, allocations: 90.2 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.2947, allocations: 192 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2947, allocations: 3.938 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2947, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.295, allocations: 103.9 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.2954, allocations: 284.8 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.2956, allocations: 82.47 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.2958, allocations: 56.92 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.296, allocations: 105.1 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2961, allocations: 30.56 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2961, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006143/0.2967, allocations: 185.5 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2967, allocations: 51.41 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2969, allocations: 129.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2969, allocations: 25.7 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.297, allocations: 99.98 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.297, allocations: 7.891 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.297, allocations: 13.72 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2971, allocations: 318.8 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2973, allocations: 47.95 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.2975, allocations: 52.14 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.2978, allocations: 104.9 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2978, allocations: 3.938 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003671/0.2982, allocations: 137.5 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2982, allocations: 4 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2982, allocations: 0 / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2982, allocations: 3.938 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.2984, allocations: 27.97 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2984, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.2985, allocations: 15.98 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.2985, allocations: 4 kB / 1.063 GB, free: 0.6211 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 7.732e-05/0.2986, allocations: 117.8 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.2986, allocations: 0 / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.299, allocations: 149.4 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2991, allocations: 0 / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2991, allocations: 0 / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2991, allocations: 4 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.2993, allocations: 185.5 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2993, allocations: 0 / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2994, allocations: 19.98 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2994, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.2994, allocations: 4 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2994, allocations: 4 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2994, allocations: 7.984 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.2998, allocations: 227.4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.2999, allocations: 85 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2999, allocations: 7.938 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3, allocations: 15.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3001, allocations: 4 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3001, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.781e-05/0.3001, allocations: 103.2 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3002, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002279/0.3004, allocations: 12 kB / 1.064 GB, free: 15.59 MB / 0.8262 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.0001403/0.3005, allocations: 95.25 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.3009, allocations: 103.9 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3009, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.3011, allocations: 55.89 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3014, allocations: 11.94 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3017, allocations: 201.1 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.302, allocations: 0.6926 MB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.302, allocations: 7.438 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.302, allocations: 0 / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of Templates: time 0.002431/0.3045, allocations: 0.884 MB / 1.066 GB, free: 13.48 MB / 0.8262 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