Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.00145/0.00145, allocations: 112.6 kB / 16.46 MB, free: 6.035 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.001418/0.001418, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.91 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.83/2.83, allocations: 476.7 MB / 0.7611 GB, free: 11.3 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.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 75.89 kB / 1.104 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9267, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002175/0.9289, allocations: 0.8272 MB / 1.27 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.9291, allocations: 39.78 kB / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.9291, allocations: 0 / 1.27 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.9292, allocations: 11.86 kB / 1.27 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.9293, allocations: 11.88 kB / 1.27 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.969e-05/0.9293, allocations: 19.98 kB / 1.27 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.9294, allocations: 55.84 kB / 1.27 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.9296, allocations: 43.91 kB / 1.27 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.428e-05/0.9296, allocations: 23.88 kB / 1.27 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.61e-05/0.9297, allocations: 31.84 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.9297, allocations: 11.94 kB / 1.27 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.9297, allocations: 4 kB / 1.27 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.9298, allocations: 11.94 kB / 1.27 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.9298, allocations: 31.8 kB / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.9299, allocations: 77.47 kB / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9299, allocations: 0 / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9299, allocations: 0 / 1.27 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.9299, allocations: 0 / 1.27 GB, free: 3.984 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.0005511/0.9305, allocations: 385.4 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9305, allocations: 11.97 kB / 1.27 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.9306, allocations: 42.69 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.9306, allocations: 16.83 kB / 1.27 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.9309, allocations: 196.1 kB / 1.271 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.9309, allocations: 4.375 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.9309, allocations: 8.375 kB / 1.271 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.9311, allocations: 95.88 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9311, allocations: 7.938 kB / 1.271 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.9311, allocations: 4 kB / 1.271 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.9311, allocations: 4 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.9312, allocations: 35.97 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.9319, allocations: 440.7 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.144e-05/0.9319, allocations: 41.22 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.932, allocations: 17.78 kB / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.932, allocations: 0 / 1.271 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.932, allocations: 38.59 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.932, allocations: 0 / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.9322, allocations: 61.7 kB / 1.271 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.9323, allocations: 77.11 kB / 1.271 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.9324, allocations: 160.7 kB / 1.272 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.9325, allocations: 25.7 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.9325, allocations: 104.1 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.9325, allocations: 7.953 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.9326, allocations: 13.67 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9327, allocations: 322.8 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.9328, allocations: 12.06 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.9328, allocations: 13.72 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.9328, allocations: 33.64 kB / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9328, allocations: 0 / 1.272 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.323e-05/0.9329, allocations: 53.66 kB / 1.272 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.9329, allocations: 7.938 kB / 1.272 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.933, allocations: 4.062 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.933, allocations: 3.938 kB / 1.272 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.933, allocations: 15.92 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.933, allocations: 0 / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.9331, allocations: 15.94 kB / 1.272 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.9331, allocations: 0 / 1.272 GB, free: 1.477 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 8.945e-05/0.9332, allocations: 113.8 kB / 1.272 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.9332, allocations: 11.89 kB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.9332, allocations: 7.875 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.9332, allocations: 4 kB / 1.272 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.9333, allocations: 7.922 kB / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.9333, allocations: 0 / 1.272 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.9337, allocations: 474.7 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9337, allocations: 0 / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.9337, allocations: 4 kB / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9337, allocations: 0 / 1.273 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.9337, allocations: 4.062 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.9338, allocations: 4 kB / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9338, allocations: 0 / 1.273 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.802e-05/0.9339, allocations: 81.81 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.9339, allocations: 89.06 kB / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.9339, allocations: 0 / 1.273 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.934, allocations: 4.031 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.934, allocations: 3.984 kB / 1.273 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.934, allocations: 4 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001349/0.9341, allocations: 122.1 kB / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.9341, allocations: 0 / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001936/0.9343, allocations: 8 kB / 1.273 GB, free: 448 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.0004806/0.9348, allocations: 0.6176 MB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.195e-05/0.9349, allocations: 16 kB / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9349, allocations: 0 / 1.274 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.9349, allocations: 11.94 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.0001576/0.935, allocations: 7.906 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.001378/0.9364, allocations: 1.328 MB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.9368, allocations: 0.6929 MB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.9368, allocations: 8.422 kB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.9369, allocations: 35.36 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.9369, allocations: 0 / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.962, allocations: 1.598 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.24, allocations: 12.69 kB / 1.277 GB, free: 12.06 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.597858410328627]