Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8767/0.8767, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.733/1.733, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.078e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001762/0.001792, allocations: 0.785 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.001898, allocations: 43.78 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.001945, allocations: 3.938 kB / 1 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.001984, allocations: 7.875 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.002057, allocations: 7.938 kB / 1.001 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.92e-05/0.002096, allocations: 23.97 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.716e-05/0.002194, allocations: 67.77 kB / 1.001 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.002313, allocations: 31.92 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.798e-05/0.002381, allocations: 35.91 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.002437, allocations: 19.91 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.002467, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.002474, allocations: 4 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.002496, allocations: 15.92 kB / 1.001 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.002525, allocations: 23.91 kB / 1.001 GB, free: 12.42 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.002636, allocations: 71.7 kB / 1.001 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002638, allocations: 4 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002639, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002644, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 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.0003491/0.002993, allocations: 306 kB / 1.001 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.003034, allocations: 12.75 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.003067, allocations: 34.75 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.003088, allocations: 8.891 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.003239, allocations: 137.6 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.003251, allocations: 8.359 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.003264, allocations: 8.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.003396, allocations: 99.84 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.003407, allocations: 4.125 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.003417, allocations: 4.375 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.003423, allocations: 4.125 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.059e-05/0.003484, allocations: 35.98 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.004052, allocations: 395.9 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.004105, allocations: 41.09 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.004137, allocations: 13.84 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.004148, allocations: 4 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.004171, allocations: 42.5 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004172, allocations: 0 / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000165/0.004337, allocations: 53.64 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.004376, allocations: 84.98 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.004493, allocations: 161.6 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004503, allocations: 25.7 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.004569, allocations: 100 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.004577, allocations: 11.88 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.004606, allocations: 17.72 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.004692, allocations: 323.1 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.004707, allocations: 11.92 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.067e-05/0.004728, allocations: 17.72 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.00476, allocations: 21.72 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004761, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.165e-05/0.004823, allocations: 65.58 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.004836, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.004843, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.004859, allocations: 8.062 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.004914, allocations: 7.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.004919, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.00494, allocations: 15.83 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.004945, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 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 6.811e-05/0.005013, allocations: 117.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.005035, allocations: 7.953 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.005057, allocations: 11.81 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.005059, allocations: 0 / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.005065, allocations: 7.938 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005068, allocations: 0 / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.005347, allocations: 437.9 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005348, allocations: 0 / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.00536, allocations: 3.938 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005363, allocations: 7.984 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.00537, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005371, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005372, allocations: 0 / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.066e-05/0.005433, allocations: 78.67 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.005461, allocations: 23.83 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.005472, allocations: 4.094 kB / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-06/0.005481, allocations: 0 / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.005494, allocations: 0 / 1.003 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.005497, allocations: 4 kB / 1.003 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.882e-05/0.005555, allocations: 121.5 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.005555, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001227/0.005678, allocations: 12 kB / 1.004 GB, free: 9.16 MB / 0.9636 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.0002379/0.005916, allocations: 0.6054 MB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.005996, allocations: 23.97 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.005998, allocations: 3.938 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.792e-06/0.006004, allocations: 7.984 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.006133, allocations: 15.89 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.0072, allocations: 1.342 MB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.007247, allocations: 75.58 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.007273, allocations: 16.47 kB / 1.006 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.007314, allocations: 24.5 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.007314, allocations: 0 / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.02187, allocations: 2.224 MB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.412/6.433, allocations: 5.219 kB / 1.008 GB, free: 4.793 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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: 10.3850476173684]