Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001953/0.001953, allocations: 112.2 kB / 16.46 MB, free: 6.504 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.001985/0.001985, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.754/2.754, allocations: 476.7 MB / 0.7611 GB, free: 11.32 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_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.89 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8124, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002421/0.8148, allocations: 0.8459 MB / 1.27 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.8149, allocations: 35.8 kB / 1.27 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.815, allocations: 0 / 1.27 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.283e-05/0.815, allocations: 11.86 kB / 1.27 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.465e-05/0.8151, allocations: 15.92 kB / 1.27 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.687e-05/0.8152, allocations: 15.98 kB / 1.27 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.8153, allocations: 63.78 kB / 1.27 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8154, allocations: 35.92 kB / 1.27 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.739e-05/0.8155, allocations: 23.94 kB / 1.27 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.8155, allocations: 31.78 kB / 1.27 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.8156, allocations: 4 kB / 1.27 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.8156, allocations: 8 kB / 1.27 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.8156, allocations: 15.94 kB / 1.27 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.8156, allocations: 31.78 kB / 1.27 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.8158, allocations: 77.42 kB / 1.27 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.8158, allocations: 0 / 1.27 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8158, allocations: 0 / 1.27 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.8158, allocations: 0 / 1.27 GB, free: 3.93 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.000487/0.8163, allocations: 389.3 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8163, allocations: 8.031 kB / 1.27 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.8164, allocations: 38.75 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.8164, allocations: 16.78 kB / 1.27 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.8167, allocations: 204.1 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.8167, allocations: 4.375 kB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.8167, allocations: 12.38 kB / 1.271 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.8169, allocations: 89.98 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.8169, allocations: 3.938 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8169, allocations: 4 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.8169, allocations: 4 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.154e-05/0.817, allocations: 35.92 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.8176, allocations: 436.6 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.8177, allocations: 45.34 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.8177, allocations: 17.78 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.8177, allocations: 0 / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8178, allocations: 30.56 kB / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8178, allocations: 0 / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001815/0.8179, allocations: 65.52 kB / 1.271 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.818, allocations: 77.11 kB / 1.271 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.8182, allocations: 166 kB / 1.272 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.8182, allocations: 25.7 kB / 1.272 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.8183, allocations: 104.1 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.806e-06/0.8183, allocations: 3.953 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.8183, allocations: 21.67 kB / 1.272 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8185, allocations: 327.1 kB / 1.272 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.8185, allocations: 4 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.8185, allocations: 17.72 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.8186, allocations: 25.7 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8186, allocations: 0 / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.573e-05/0.8187, allocations: 61.59 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8187, allocations: 12 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8187, allocations: 0 / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.8187, allocations: 0 / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.8188, allocations: 11.98 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.8188, allocations: 3.938 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.8188, allocations: 4.031 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.8188, allocations: 4 kB / 1.272 GB, free: 1.434 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.808e-05/0.8189, allocations: 117.8 kB / 1.272 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.819, allocations: 15.88 kB / 1.272 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.819, allocations: 11.81 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.819, allocations: 4 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.819, allocations: 4 kB / 1.272 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.819, allocations: 3.984 kB / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.8195, allocations: 474.7 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8195, allocations: 0 / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.8195, allocations: 4 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8195, allocations: 4.062 kB / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.8195, allocations: 0 / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8195, allocations: 4 kB / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8195, allocations: 0 / 1.273 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.247e-05/0.8196, allocations: 81.88 kB / 1.273 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.8196, allocations: 85.06 kB / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.8197, allocations: 0 / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.8197, allocations: 4.031 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.8197, allocations: 7.922 kB / 1.273 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.8197, allocations: 4 kB / 1.273 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.78e-05/0.8198, allocations: 123.2 kB / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.8198, allocations: 0 / 1.273 GB, free: 396 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001901/0.82, allocations: 4 kB / 1.273 GB, free: 392 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.0004977/0.8205, allocations: 0.6099 MB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.8206, allocations: 23.92 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8206, allocations: 0 / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.309e-05/0.8206, allocations: 8 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.8208, allocations: 11.91 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.8222, allocations: 1.331 MB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.8226, allocations: 0.6924 MB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.236e-05/0.8226, allocations: 12.42 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.8227, allocations: 27.42 kB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/0.8227, allocations: 0 / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.8552, allocations: 1.599 MB / 1.277 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/9.094, allocations: 22.98 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.18507053796202]