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.001201/0.001202, allocations: 108 kB / 15.61 MB, free: 148 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.001223/0.001223, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.264/2.264, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4919, allocations: 140.3 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002102/0.494, allocations: 1.487 MB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002379/0.4943, allocations: 106.8 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.4943, allocations: 5.562 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.4944, allocations: 3.938 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.4944, allocations: 13.45 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.4946, allocations: 17.48 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.4947, allocations: 41.59 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.4948, allocations: 8.125 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.4948, allocations: 22.78 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.4949, allocations: 25.42 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.4949, allocations: 8.062 kB / 0.9514 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.429e-05/0.4949, allocations: 22.97 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.495, allocations: 10.69 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.495, allocations: 19.98 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.397e-05/0.4951, allocations: 58.92 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4951, allocations: 1.375 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4951, allocations: 0 / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.4951, allocations: 0 / 0.9515 GB, free: 7.703 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.0003812/0.4955, allocations: 385.3 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.4956, allocations: 8.562 kB / 0.9519 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.397e-05/0.4956, allocations: 32.72 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.4956, allocations: 3.469 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.405e-05/0.4957, allocations: 180.5 kB / 0.9521 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.4957, allocations: 5.594 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.4957, allocations: 1.719 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4959, allocations: 79.66 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4959, allocations: 3.938 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.496, allocations: 0 / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.496, allocations: 1.25 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.4962, allocations: 71.67 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.4965, allocations: 288.7 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.4967, allocations: 64.69 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.4968, allocations: 47.5 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.497, allocations: 114.9 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.497, allocations: 31.78 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.497, allocations: 0 / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004918/0.4975, allocations: 155 kB / 0.9529 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.4976, allocations: 52.53 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.4976, allocations: 123.7 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.4977, allocations: 27.27 kB / 0.9531 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.4977, allocations: 98.91 kB / 0.9532 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.4977, allocations: 5.094 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.4977, allocations: 12.41 kB / 0.9532 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.4978, allocations: 320.2 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.4979, allocations: 40.94 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.498, allocations: 37.64 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.4983, allocations: 84.53 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4983, allocations: 4 kB / 0.9537 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002881/0.4986, allocations: 114.2 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4986, allocations: 5.031 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4986, allocations: 0 / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4986, allocations: 1.469 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4988, allocations: 17.92 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.4988, allocations: 4 kB / 0.9538 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.041e-05/0.4988, allocations: 19.73 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4989, allocations: 3.984 kB / 0.9538 GB, free: 5.523 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 4.422e-05/0.4989, allocations: 118.7 kB / 0.954 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4989, allocations: 5.438 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.4993, allocations: 118.8 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4993, allocations: 3.984 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4993, allocations: 4 kB / 0.9541 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4993, allocations: 1.469 kB / 0.9541 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.4994, allocations: 182.9 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4994, allocations: 1.438 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.4995, allocations: 14.27 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4995, allocations: 0 / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.4995, allocations: 5.188 kB / 0.9543 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4995, allocations: 4 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4995, allocations: 3.938 kB / 0.9543 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.4998, allocations: 210.2 kB / 0.9545 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.4999, allocations: 78.08 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.4999, allocations: 1.25 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.5, allocations: 13.64 kB / 0.9546 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.5, allocations: 6.797 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.5, allocations: 1.312 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.513e-05/0.5001, allocations: 103.7 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5001, allocations: 3.938 kB / 0.9547 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002091/0.5003, allocations: 9.156 kB / 0.9547 GB, free: 4.707 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.0004528/0.5007, allocations: 0.7516 MB / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.5011, allocations: 83 kB / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5011, allocations: 0 / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.5012, allocations: 44.67 kB / 0.9556 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.5014, allocations: 7.938 kB / 0.9556 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.5018, allocations: 189.9 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.5019, allocations: 0.6877 MB / 0.9564 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.5019, allocations: 5.391 kB / 0.9564 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.502, allocations: 17.69 kB / 0.9564 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.502, allocations: 0 / 0.9564 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.905/3.407, allocations: 1.84 MB / 0.9582 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.729/13.14, allocations: 5.297 kB / 0.9582 GB, free: 2.02 MB / 0.7169 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