Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 107.5 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 67.88 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8828/0.8849, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002285/0.8872, allocations: 0.8349 MB / 1.27 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001691/0.8874, allocations: 39.84 kB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.8874, allocations: 0 / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.8875, allocations: 11.86 kB / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.8876, allocations: 11.88 kB / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.397e-05/0.8877, allocations: 15.98 kB / 1.27 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.8878, allocations: 59.84 kB / 1.27 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.8879, allocations: 43.92 kB / 1.27 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.888, allocations: 27.81 kB / 1.27 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.888, allocations: 27.84 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.8881, allocations: 4 kB / 1.27 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.125e-05/0.8881, allocations: 8 kB / 1.27 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.8881, allocations: 11.92 kB / 1.27 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.8881, allocations: 35.8 kB / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.8883, allocations: 77.42 kB / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8883, allocations: 0 / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8883, allocations: 3.938 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8883, allocations: 4 kB / 1.27 GB, free: 3.977 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000457/0.8888, allocations: 379.1 kB / 1.27 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.8888, allocations: 8.031 kB / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.8888, allocations: 38.75 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.8889, allocations: 12.84 kB / 1.27 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.8891, allocations: 196.2 kB / 1.271 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.8891, allocations: 12.31 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.8891, allocations: 4.375 kB / 1.271 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.8893, allocations: 99.94 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8893, allocations: 3.938 kB / 1.271 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.8893, allocations: 4 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.8893, allocations: 8 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.8894, allocations: 39.86 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.8899, allocations: 440.7 kB / 1.271 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/0.89, allocations: 41.31 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.89, allocations: 17.72 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-06/0.89, allocations: 0 / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.89, allocations: 30.56 kB / 1.271 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.89, allocations: 4 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000166/0.8902, allocations: 61.52 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.8902, allocations: 77.11 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.8904, allocations: 161.7 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.8904, allocations: 25.7 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.8905, allocations: 100.1 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.8905, allocations: 7.953 kB / 1.272 GB, free: 2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.8905, allocations: 21.92 kB / 1.272 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8907, allocations: 322.8 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.8907, allocations: 8 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.8907, allocations: 17.66 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.577e-05/0.8908, allocations: 29.7 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8908, allocations: 0 / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.578e-05/0.8909, allocations: 65.53 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8909, allocations: 7.938 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8909, allocations: 0 / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.8909, allocations: 0 / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.891, allocations: 11.98 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.891, allocations: 0 / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.891, allocations: 7.938 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.891, allocations: 4 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.025e-05/0.8911, allocations: 113.9 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.8911, allocations: 15.89 kB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.8912, allocations: 3.875 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.8912, allocations: 4 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8912, allocations: 0 / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8912, allocations: 3.984 kB / 1.272 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.8916, allocations: 474.7 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8916, allocations: 4.062 kB / 1.273 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.8916, allocations: 4 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8916, allocations: 0 / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.8916, allocations: 0 / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8916, allocations: 3.938 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8916, allocations: 4 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.8917, allocations: 77.88 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.8918, allocations: 93.09 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.8918, allocations: 3.938 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.8918, allocations: 0 / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.8918, allocations: 7.984 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.8918, allocations: 4 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.176e-05/0.8919, allocations: 114.1 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8919, allocations: 4 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001803/0.8921, allocations: 4 kB / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004337/0.8925, allocations: 0.6215 MB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.971e-05/0.8926, allocations: 19.92 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8926, allocations: 4 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.8926, allocations: 12.16 kB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.8928, allocations: 7.844 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.894, allocations: 1.34 MB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8943, allocations: 0.6929 MB / 1.276 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.8944, allocations: 16.5 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.8944, allocations: 27.42 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8944, allocations: 0 / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08634/0.9808, allocations: 1.584 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/9.286, allocations: 18.95 kB / 1.277 GB, free: 12.05 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.857530934736133]