Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.0008607/0.0008607, 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.0008406/0.0008406, allocations: 169.9 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.8857/0.8857, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.661/1.661, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 3.984 kB / 0.9505 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.52e-05, allocations: 5.375 kB / 0.9505 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001453/0.001478, allocations: 0.7829 MB / 0.9513 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 9.772e-05/0.001576, allocations: 43.78 kB / 0.9513 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.001616, allocations: 0 / 0.9513 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.00165, allocations: 7.875 kB / 0.9513 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.001723, allocations: 7.922 kB / 0.9513 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.053e-05/0.001763, allocations: 27.97 kB / 0.9514 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.001852, allocations: 63.78 kB / 0.9514 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.001975, allocations: 35.97 kB / 0.9515 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.002036, allocations: 31.91 kB / 0.9515 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.002084, allocations: 15.92 kB / 0.9515 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.002105, allocations: 4 kB / 0.9515 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-06/0.002112, allocations: 8 kB / 0.9515 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.002133, allocations: 23.84 kB / 0.9515 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.002157, allocations: 19.92 kB / 0.9516 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.383e-05/0.002251, allocations: 75.7 kB / 0.9516 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.002254, allocations: 4 kB / 0.9516 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002255, allocations: 0 / 0.9516 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.002259, allocations: 0 / 0.9516 GB, free: 1.195 MB / 0.8542 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.0003264/0.002585, allocations: 306 kB / 0.9519 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.002625, allocations: 11.97 kB / 0.9519 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.002658, allocations: 38.75 kB / 0.952 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.207e-05/0.00268, allocations: 8.891 kB / 0.952 GB, free: 0.7969 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.002829, allocations: 137.6 kB / 0.9521 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.002845, allocations: 8.359 kB / 0.9521 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.002857, allocations: 8.375 kB / 0.9521 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.002973, allocations: 91.95 kB / 0.9522 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.002981, allocations: 192 / 0.9522 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.00299, allocations: 4.375 kB / 0.9522 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.002996, allocations: 8.125 kB / 0.9522 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.003053, allocations: 35.92 kB / 0.9523 GB, free: 484 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.003439, allocations: 399.7 kB / 0.9526 GB, free: 36 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.565e-05/0.003494, allocations: 37.34 kB / 0.9527 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.003525, allocations: 17.78 kB / 0.9527 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.003532, allocations: 0 / 0.9527 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.003551, allocations: 38.56 kB / 0.9527 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.003552, allocations: 0 / 0.9527 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001363/0.003688, allocations: 53.58 kB / 0.9528 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.003722, allocations: 81.05 kB / 0.9529 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.003834, allocations: 160.5 kB / 0.953 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.003843, allocations: 25.7 kB / 0.953 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.003894, allocations: 104.1 kB / 0.9531 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.003901, allocations: 7.938 kB / 0.9532 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.003926, allocations: 17.72 kB / 0.9532 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.003999, allocations: 319.1 kB / 0.9535 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.004013, allocations: 11.94 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.004032, allocations: 21.72 kB / 0.9535 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.004065, allocations: 21.72 kB / 0.9535 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004067, allocations: 4 kB / 0.9535 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.973e-05/0.004127, allocations: 61.53 kB / 0.9536 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.004141, allocations: 8 kB / 0.9536 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.004146, allocations: 0 / 0.9536 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.004157, allocations: 8 kB / 0.9536 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.443e-05/0.004211, allocations: 15.88 kB / 0.9536 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004216, allocations: 4 kB / 0.9536 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.004233, allocations: 3.938 kB / 0.9536 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.004237, allocations: 4 kB / 0.9536 GB, free: 14.92 MB / 0.8698 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 5.405e-05/0.004291, allocations: 120 kB / 0.9537 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.004314, allocations: 12.03 kB / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.00433, allocations: 3.812 kB / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.004333, allocations: 4 kB / 0.9538 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.004338, allocations: 3.938 kB / 0.9538 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.00434, allocations: 4 kB / 0.9538 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.004595, allocations: 437.9 kB / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004595, allocations: 0 / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.004609, allocations: 15.86 kB / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.00461, allocations: 0 / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.004615, allocations: 0 / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.004617, allocations: 4 kB / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.004618, allocations: 0 / 0.9542 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.042e-05/0.004668, allocations: 69.95 kB / 0.9543 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.041e-05/0.004689, allocations: 15.88 kB / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.004697, allocations: 4.094 kB / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.004713, allocations: 8 kB / 0.9543 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.004724, allocations: 0 / 0.9543 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.004725, allocations: 0 / 0.9543 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.004781, allocations: 121.7 kB / 0.9544 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.004781, allocations: 3.938 kB / 0.9544 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001267/0.004908, allocations: 8 kB / 0.9544 GB, free: 14.02 MB / 0.8698 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.0002309/0.005139, allocations: 0.6093 MB / 0.955 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.957e-05/0.005209, allocations: 19.97 kB / 0.955 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00521, allocations: 0 / 0.955 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.617e-06/0.005219, allocations: 11.98 kB / 0.9551 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.005338, allocations: 14.75 kB / 0.9551 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.006169, allocations: 1.34 MB / 0.9564 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.006215, allocations: 79.44 kB / 0.9565 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.686e-05/0.006242, allocations: 12.48 kB / 0.9565 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.006284, allocations: 24.44 kB / 0.9565 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/0.006284, allocations: 4 kB / 0.9565 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.01993, allocations: 2.234 MB / 0.9587 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.605, allocations: 10.84 kB / 0.9587 GB, free: 9.652 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.498341240920126]