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.004816/0.004816, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001296/0.001296, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 60.31 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2264, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002849/0.2293, allocations: 1.482 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.2296, allocations: 108.6 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.2296, allocations: 0 / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.2297, allocations: 3.938 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.683e-05/0.2297, allocations: 11.88 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.2299, allocations: 23.97 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.23, allocations: 47.83 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.2301, allocations: 12 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.2302, allocations: 23.86 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.2302, allocations: 19.91 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2302, allocations: 4 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.2303, allocations: 19.98 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.2304, allocations: 8 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.2304, allocations: 27.8 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.2305, allocations: 55.86 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2305, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2305, allocations: 0 / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2306, allocations: 4 kB / 1.089 GB, free: 156 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.0005074/0.2311, allocations: 378.9 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2311, allocations: 8.031 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.2312, allocations: 38.69 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.2312, allocations: 4.844 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2313, allocations: 172.3 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2313, allocations: 4.375 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.2313, allocations: 384 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2316, allocations: 82.09 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2316, allocations: 7.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2316, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2316, allocations: 0 / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.2319, allocations: 75.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.2323, allocations: 292.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.2325, allocations: 66.47 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.2326, allocations: 48.89 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.2329, allocations: 109.1 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2329, allocations: 38.56 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2329, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005379/0.2335, allocations: 153.5 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.2335, allocations: 51.41 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.2336, allocations: 131.8 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2336, allocations: 33.69 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.2337, allocations: 88.14 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2337, allocations: 11.81 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.2337, allocations: 13.72 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.2338, allocations: 322.8 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.234, allocations: 39.95 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2341, allocations: 31.97 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2344, allocations: 88.72 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2344, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003246/0.2347, allocations: 105.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2348, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2348, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2348, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.2349, allocations: 23.92 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2349, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.235, allocations: 19.88 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.235, allocations: 0 / 1.092 GB, free: 13.51 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 7.124e-05/0.2351, allocations: 121.7 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.2351, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.2355, allocations: 125.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2355, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2355, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2355, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2357, allocations: 181.6 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2357, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.2358, allocations: 19.92 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2358, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2358, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2358, allocations: 7.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2358, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.2362, allocations: 211.3 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.2362, allocations: 85.38 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2362, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.2363, allocations: 19.98 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.2364, allocations: 3.984 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.2364, allocations: 8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.2364, allocations: 99.27 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2365, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002144/0.2367, allocations: 8 kB / 1.092 GB, free: 12.52 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.0005863/0.2373, allocations: 0.7475 MB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2376, allocations: 83.92 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2376, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.2378, allocations: 43.89 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.238, allocations: 11.91 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.2384, allocations: 179.2 kB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.2386, allocations: 0.6846 MB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.2387, allocations: 11.98 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.2387, allocations: 15.44 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.2387, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6419/0.8806, allocations: 1.87 MB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/8.21, allocations: 7.969 kB / 1.096 GB, free: 8.863 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