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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008022/0.008023, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001836/0.001836, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.401/2.401, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.84 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003188/0.2987, allocations: 1.478 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003754/0.2991, allocations: 112.5 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.2992, allocations: 0 / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.107e-05/0.2993, allocations: 3.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.647e-05/0.2993, allocations: 7.938 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.2996, allocations: 23.97 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2997, allocations: 47.78 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.2999, allocations: 16 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.2999, allocations: 19.91 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.3, allocations: 19.92 kB / 1.089 GB, free: 256 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3, allocations: 4 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.579e-05/0.3001, allocations: 15.98 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.3002, allocations: 11.98 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.3002, allocations: 27.8 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3004, allocations: 55.86 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3004, allocations: 0 / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3004, allocations: 0 / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3004, allocations: 7.938 kB / 1.089 GB, free: 132 kB / 0.8419 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.0006337/0.3011, allocations: 374.9 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3011, allocations: 15.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.3012, allocations: 34.75 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.3012, allocations: 8.844 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3014, allocations: 172.2 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3014, allocations: 384 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3014, allocations: 8.375 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3017, allocations: 78.2 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3017, allocations: 3.938 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3018, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3018, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.3021, allocations: 75.92 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.3025, allocations: 292.8 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.3027, allocations: 70.53 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.3029, allocations: 36.92 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.3032, allocations: 113.1 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3032, allocations: 30.56 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3032, allocations: 0 / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005916/0.3038, allocations: 153.6 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3039, allocations: 51.41 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.304, allocations: 131.2 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3041, allocations: 29.7 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3041, allocations: 92.12 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.3042, allocations: 11.81 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3042, allocations: 13.72 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3043, allocations: 326.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3045, allocations: 31.97 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3047, allocations: 39.98 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.305, allocations: 84.72 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.305, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003619/0.3053, allocations: 113.5 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3054, allocations: 8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3054, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3054, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3055, allocations: 15.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3056, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.3057, allocations: 15.89 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3057, allocations: 3.938 kB / 1.092 GB, free: 13.49 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 9.691e-05/0.3058, allocations: 121.8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.3058, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.3062, allocations: 125.5 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3062, allocations: 3.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3062, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3063, allocations: 7.984 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3065, allocations: 173.6 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3065, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.992e-05/0.3066, allocations: 19.97 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3066, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.3066, allocations: 8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3066, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3066, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.3071, allocations: 211.3 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3071, allocations: 84.95 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3072, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3073, allocations: 19.92 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.3073, allocations: 7.984 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3073, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.234e-05/0.3074, allocations: 97.77 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3074, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002339/0.3077, allocations: 12 kB / 1.092 GB, free: 12.5 MB / 0.8575 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.0007324/0.3084, allocations: 0.7397 MB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.3088, allocations: 92.12 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3088, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.309, allocations: 36.06 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3093, allocations: 17.61 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.3098, allocations: 187.3 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3101, allocations: 0.6846 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.3101, allocations: 4 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3102, allocations: 19.42 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of SimCode: time 6.11e-07/0.3102, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.3295, allocations: 1.884 MB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/7.844, allocations: 13.78 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Biquadratic.fmu > 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