Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001406/0.001406, allocations: 109.1 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.001379/0.001379, 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8166, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002203/0.8188, allocations: 0.8339 MB / 1.214 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.8189, allocations: 45.14 kB / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.819, allocations: 2.281 kB / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.819, allocations: 7.875 kB / 1.214 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.505e-05/0.8191, allocations: 13 kB / 1.214 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.406e-05/0.8192, allocations: 15.2 kB / 1.214 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.8193, allocations: 62.73 kB / 1.214 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.8194, allocations: 34.81 kB / 1.214 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.412e-05/0.8195, allocations: 39.69 kB / 1.214 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.8196, allocations: 25.45 kB / 1.214 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.8196, allocations: 5.531 kB / 1.214 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.8196, allocations: 5.938 kB / 1.214 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.8196, allocations: 14.61 kB / 1.214 GB, free: 3.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.8196, allocations: 29.66 kB / 1.214 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.8198, allocations: 83.52 kB / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8198, allocations: 1.125 kB / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8198, allocations: 0 / 1.214 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.8198, allocations: 0 / 1.214 GB, free: 2.957 MB / 0.92 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.0004909/0.8203, allocations: 382.1 kB / 1.214 GB, free: 2.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8203, allocations: 14.41 kB / 1.214 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.8204, allocations: 40.92 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.8204, allocations: 14.5 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.8206, allocations: 194 kB / 1.215 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.8207, allocations: 7.656 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.8207, allocations: 5.219 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.8208, allocations: 103.7 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8209, allocations: 5 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.8209, allocations: 4 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8209, allocations: 2.219 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.361e-05/0.821, allocations: 35.61 kB / 1.215 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.8216, allocations: 433.1 kB / 1.215 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.8217, allocations: 44.81 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.8217, allocations: 18.88 kB / 1.215 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.8217, allocations: 1.125 kB / 1.215 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.8218, allocations: 35.61 kB / 1.215 GB, free: 1.609 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.8218, allocations: 0 / 1.215 GB, free: 1.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.8219, allocations: 59.44 kB / 1.215 GB, free: 1.559 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.822, allocations: 78.23 kB / 1.216 GB, free: 1.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.8222, allocations: 159.7 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.8222, allocations: 26.8 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.8222, allocations: 99.89 kB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.8223, allocations: 13.12 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.8223, allocations: 14.25 kB / 1.216 GB, free: 1.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8224, allocations: 325.4 kB / 1.216 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.8225, allocations: 7.156 kB / 1.216 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.8225, allocations: 17.86 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.8225, allocations: 31 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8225, allocations: 0 / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.62e-05/0.8226, allocations: 59.05 kB / 1.216 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8226, allocations: 13.78 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.8226, allocations: 0 / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8227, allocations: 9.484 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.8227, allocations: 5.562 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8227, allocations: 0.9062 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.412e-05/0.8228, allocations: 13.41 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.8228, allocations: 1.5 kB / 1.216 GB, free: 0.7305 MB / 0.92 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.479e-05/0.8229, allocations: 113.8 kB / 1.216 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.8229, allocations: 12.27 kB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.8229, allocations: 14.08 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8229, allocations: 1.156 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8229, allocations: 1.188 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.8229, allocations: 0 / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.8234, allocations: 478.7 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8234, allocations: 0 / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.8234, allocations: 3.406 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.8234, allocations: 4.812 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8234, allocations: 0.875 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8234, allocations: 0.75 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.8234, allocations: 4.656 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.8235, allocations: 78.84 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.8236, allocations: 88.16 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.8236, allocations: 5.078 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.8236, allocations: 5.125 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.8236, allocations: 5.016 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.8236, allocations: 1.062 kB / 1.217 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001012/0.8237, allocations: 118.8 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8237, allocations: 0 / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001861/0.8239, allocations: 6.719 kB / 1.217 GB, free: 15.78 MB / 0.9356 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.0004439/0.8244, allocations: 0.6217 MB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.359e-05/0.8245, allocations: 14 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8245, allocations: 5.062 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.8245, allocations: 7.375 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.8246, allocations: 10.42 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.826, allocations: 1.342 MB / 1.219 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.8263, allocations: 0.6948 MB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.8263, allocations: 3.688 kB / 1.22 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.8264, allocations: 36.05 kB / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8264, allocations: 0 / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.8512, allocations: 1.588 MB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.931, allocations: 11.7 kB / 1.221 GB, free: 12.29 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 14.75026978412643]