Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_11_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.006674/0.006674, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001749/0.001749, allocations: 194.6 kB / 16.68 MB, free: 5.91 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 71.83 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7155/0.7173, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002547/0.7199, allocations: 1.479 MB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.7202, allocations: 111.7 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.7203, allocations: 4 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.7203, allocations: 3.938 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.7204, allocations: 7.938 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.7206, allocations: 19.97 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.732e-05/0.7207, allocations: 43.8 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.7208, allocations: 19.97 kB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.574e-05/0.7209, allocations: 11.98 kB / 1.222 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.7209, allocations: 31.86 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.7209, allocations: 4 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.336e-05/0.721, allocations: 15.98 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.7211, allocations: 11.98 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.7211, allocations: 19.86 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.7212, allocations: 58.47 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7213, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7213, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.7213, allocations: 0 / 1.222 GB, free: 192 kB / 0.9356 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.0005571/0.7218, allocations: 392.1 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7219, allocations: 12.03 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.7219, allocations: 30.75 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.722, allocations: 12.83 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.7221, allocations: 168.3 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.7221, allocations: 384 / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.7221, allocations: 4.375 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.7224, allocations: 86.14 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7224, allocations: 3.938 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.7224, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7224, allocations: 0 / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.7228, allocations: 79.84 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.7231, allocations: 292.8 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.7234, allocations: 70.53 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.7235, allocations: 36.92 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.7238, allocations: 117.1 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.7238, allocations: 30.56 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.7238, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005594/0.7244, allocations: 141.5 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.7244, allocations: 59.41 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7245, allocations: 126.5 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.7246, allocations: 25.7 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.7246, allocations: 100.1 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.7247, allocations: 3.953 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.7247, allocations: 13.72 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7248, allocations: 322.8 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.725, allocations: 35.97 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.7251, allocations: 35.95 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.7254, allocations: 88.66 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7254, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003368/0.7258, allocations: 113.6 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7258, allocations: 4 kB / 1.224 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7258, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7258, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7259, allocations: 11.98 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.726, allocations: 0 / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.726, allocations: 19.98 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.726, allocations: 0 / 1.224 GB, free: 13.54 MB / 0.9512 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.938e-05/0.7261, allocations: 117.8 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.7262, allocations: 15.95 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.7266, allocations: 117.5 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7266, allocations: 0 / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.7266, allocations: 4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7266, allocations: 7.938 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.7268, allocations: 181.6 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7268, allocations: 3.938 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.7269, allocations: 19.97 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.7269, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.7269, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.7269, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7269, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.7273, allocations: 223.7 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.7274, allocations: 81.14 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.7274, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7275, allocations: 11.98 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.7275, allocations: 11.98 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.7276, allocations: 0 / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.301e-05/0.7276, allocations: 101.8 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7276, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002176/0.7279, allocations: 11.94 kB / 1.225 GB, free: 12.54 MB / 0.9512 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.0007068/0.7286, allocations: 0.7402 MB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.7289, allocations: 87.84 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7289, allocations: 0 / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.7291, allocations: 39.97 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.7293, allocations: 11.98 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.7298, allocations: 182.9 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.7301, allocations: 0.6924 MB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.7301, allocations: 0 / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.7301, allocations: 27.36 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.7301, allocations: 0 / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8291/1.559, allocations: 1.871 MB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.803/11.36, allocations: 12.59 kB / 1.229 GB, free: 8.871 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches