Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001349/0.001349, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001365/0.001365, allocations: 186 kB / 20.78 MB, free: 1.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.54/1.54, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.867/2.867, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] 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_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9732/0.9752, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002016/0.9772, allocations: 0.8997 MB / 1.272 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00012/0.9773, allocations: 54.12 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.9774, allocations: 1.594 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.9775, allocations: 10.88 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.9775, allocations: 14.48 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.165e-05/0.9776, allocations: 25.52 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.9777, allocations: 76.14 kB / 1.273 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.9779, allocations: 39.88 kB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.9779, allocations: 40.02 kB / 1.273 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.978, allocations: 41.36 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.978, allocations: 8.438 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.978, allocations: 7.312 kB / 1.273 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.9781, allocations: 17.58 kB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.9781, allocations: 43.75 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.9782, allocations: 105.1 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9782, allocations: 0 / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9782, allocations: 0.7812 kB / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.9783, allocations: 0 / 1.273 GB, free: 6.852 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000364/0.9786, allocations: 400 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.9787, allocations: 9.469 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.9787, allocations: 41.52 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.9787, allocations: 14.16 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.9789, allocations: 205.7 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.9789, allocations: 8.906 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.9789, allocations: 6 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.9791, allocations: 106.6 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9791, allocations: 4 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.9791, allocations: 5.719 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.9791, allocations: 1.906 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.758e-05/0.9792, allocations: 48.25 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.9797, allocations: 467.1 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.9797, allocations: 44.56 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.9798, allocations: 16.56 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.9798, allocations: 0.8125 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.9798, allocations: 35.98 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9798, allocations: 1.062 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001611/0.9799, allocations: 58.45 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.98, allocations: 81.86 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.9801, allocations: 188.9 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.551e-06/0.9801, allocations: 25.7 kB / 1.275 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.9802, allocations: 113 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.9802, allocations: 10.78 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.9802, allocations: 23.06 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.9802, allocations: 321 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.9803, allocations: 7.281 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.9803, allocations: 24.91 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.9803, allocations: 22.03 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9803, allocations: 4.656 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.652e-05/0.9804, allocations: 63.53 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9804, allocations: 4.812 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.9804, allocations: 5.25 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9804, allocations: 0.875 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.9805, allocations: 9.156 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9805, allocations: 0.9688 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.9805, allocations: 10.27 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.9805, allocations: 6.875 kB / 1.275 GB, free: 4.656 MB / 0.9981 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 4.981e-05/0.9806, allocations: 114 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.9806, allocations: 9.641 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.9807, allocations: 14.11 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.9807, allocations: 5.031 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9807, allocations: 0.9375 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9807, allocations: 5.375 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.9809, allocations: 480.1 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.9809, allocations: 0 / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.981, allocations: 4.125 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.981, allocations: 4.719 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.981, allocations: 5.031 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.981, allocations: 5.453 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.981, allocations: 1.25 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/0.981, allocations: 77.66 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.9811, allocations: 87.55 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.9811, allocations: 5.719 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.9811, allocations: 8.031 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.9811, allocations: 1.75 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.9811, allocations: 2.5 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000106/0.9812, allocations: 133.3 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9812, allocations: 0 / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001975/0.9814, allocations: 12.95 kB / 1.276 GB, free: 3.73 MB / 0.9981 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.0002955/0.9817, allocations: 0.6212 MB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.9818, allocations: 18.36 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9818, allocations: 5.094 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.9819, allocations: 3.062 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.982, allocations: 12.66 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.9832, allocations: 1.425 MB / 1.278 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.9836, allocations: 0.6979 MB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.9837, allocations: 12.41 kB / 1.279 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.9837, allocations: 30.11 kB / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.9837, allocations: 0 / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/1.007, allocations: 1.721 MB / 1.281 GB, free: 16.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.204/10.21, allocations: 16.7 kB / 1.281 GB, free: 16.71 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 17.448626420024084]