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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_latest_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.001176/0.001176, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008697/0.008697, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.631/2.631, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 11.28 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3152, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001601/0.3169, allocations: 1.21 MB / 1.06 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.3172, allocations: 115.7 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.719e-05/0.3172, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3173, allocations: 7.875 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.3173, allocations: 7.938 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3175, allocations: 19.97 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.846e-05/0.3176, allocations: 39.84 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.858e-05/0.3177, allocations: 8 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.3177, allocations: 23.86 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.3178, allocations: 19.92 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3178, allocations: 4 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.099e-05/0.3179, allocations: 15.98 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.3179, allocations: 11.92 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.318, allocations: 45.56 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.3181, allocations: 47.86 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3181, allocations: 0 / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3181, allocations: 4 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.3181, allocations: 0 / 1.06 GB, free: 3.32 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.0004749/0.3186, allocations: 379.6 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3187, allocations: 11.97 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.3187, allocations: 38.69 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.3187, allocations: 8.844 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3189, allocations: 175.2 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3189, allocations: 4.375 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3189, allocations: 4.375 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.3192, allocations: 86.16 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3192, allocations: 3.938 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3192, allocations: 0 / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3192, allocations: 0 / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.3195, allocations: 95.92 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.3199, allocations: 300.7 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3201, allocations: 82.47 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3203, allocations: 56.91 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.3205, allocations: 101.1 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3205, allocations: 34.56 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3205, allocations: 0 / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000568/0.3211, allocations: 181.8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3211, allocations: 51.41 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3212, allocations: 125.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3212, allocations: 25.7 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.3213, allocations: 100 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.3213, allocations: 3.906 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.3213, allocations: 13.66 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.3214, allocations: 322.8 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3216, allocations: 47.97 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.3218, allocations: 55.88 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3221, allocations: 104.7 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3221, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003393/0.3224, allocations: 133.5 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3224, allocations: 8 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3224, allocations: 4 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.3225, allocations: 0 / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3226, allocations: 19.92 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3226, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.3227, allocations: 23.98 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3227, allocations: 0 / 1.063 GB, free: 0.5156 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.14e-05/0.3228, allocations: 121.7 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3228, allocations: 7.906 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.3232, allocations: 137.5 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3232, allocations: 4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3232, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3232, allocations: 3.984 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.3234, allocations: 177.6 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3234, allocations: 0 / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/0.3235, allocations: 27.97 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.3235, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.3235, allocations: 7.938 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3235, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3236, allocations: 3.984 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.3239, allocations: 231.4 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.324, allocations: 89.02 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.324, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3241, allocations: 15.98 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.3242, allocations: 3.984 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3242, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.3242, allocations: 103.3 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3242, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002175/0.3245, allocations: 8 kB / 1.064 GB, free: 15.49 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.0006442/0.3251, allocations: 0.7669 MB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.3255, allocations: 104.2 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3255, allocations: 0 / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.3257, allocations: 55.91 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3259, allocations: 22.39 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.3263, allocations: 197.2 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3266, allocations: 0.6887 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.3266, allocations: 11.84 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.3267, allocations: 19.42 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3267, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.455/1.781, allocations: 1.532 MB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.782, allocations: 208.3 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/3.846, allocations: 3.938 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Biquadratic.fmu > 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