Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001732/0.001732, allocations: 98.33 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002113/0.002113, allocations: 218.9 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.305/3.305, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.To_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002965/0.002965, allocations: 62.09 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4608, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002416/0.4633, allocations: 0.8387 MB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000129/0.4634, allocations: 39.78 kB / 1.328 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.964e-05/0.4634, allocations: 7.938 kB / 1.328 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.4635, allocations: 11.86 kB / 1.328 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.4636, allocations: 3.938 kB / 1.328 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.596e-05/0.4636, allocations: 19.98 kB / 1.328 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.4638, allocations: 63.78 kB / 1.328 GB, free: 1 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.4639, allocations: 35.97 kB / 1.328 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.078e-05/0.464, allocations: 23.88 kB / 1.328 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.4641, allocations: 39.78 kB / 1.328 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.4641, allocations: 4 kB / 1.328 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.4641, allocations: 8 kB / 1.328 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.4641, allocations: 15.92 kB / 1.328 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.4642, allocations: 35.73 kB / 1.328 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.4643, allocations: 75.88 kB / 1.328 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4643, allocations: 0 / 1.328 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4643, allocations: 0 / 1.328 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4643, allocations: 0 / 1.328 GB, free: 0.7656 MB / 1.014 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.0004723/0.4648, allocations: 310 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4648, allocations: 8.031 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.758e-05/0.4648, allocations: 8.188 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.4649, allocations: 38.75 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.4649, allocations: 8.891 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.4651, allocations: 138.3 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4652, allocations: 8.375 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.4652, allocations: 8.375 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4654, allocations: 101.3 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4654, allocations: 3.938 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.4654, allocations: 4 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4654, allocations: 4 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.4655, allocations: 31.98 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.4662, allocations: 399.9 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.211e-05/0.4663, allocations: 45.03 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.4663, allocations: 17.84 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.4663, allocations: 4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.4664, allocations: 38.44 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4664, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.4666, allocations: 53.64 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.4666, allocations: 89.05 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4668, allocations: 156.6 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.4668, allocations: 29.7 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.4669, allocations: 112 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.4669, allocations: 3.953 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.467, allocations: 17.97 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4672, allocations: 318.8 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.4672, allocations: 8 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.4672, allocations: 21.72 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.4673, allocations: 21.72 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4673, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.092e-05/0.4674, allocations: 61.58 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4674, allocations: 7.938 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.4674, allocations: 4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4674, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.4675, allocations: 8.094 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4675, allocations: 0 / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.4675, allocations: 7.953 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.4675, allocations: 11.91 kB / 1.33 GB, free: 14.47 MB / 1.029 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 0.0001109/0.4676, allocations: 114.4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.4677, allocations: 15.95 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.4677, allocations: 7.812 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4677, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4677, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4677, allocations: 4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.4682, allocations: 449.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4682, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.4682, allocations: 8.047 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4682, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4682, allocations: 7.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4682, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4682, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.4683, allocations: 81.83 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.4684, allocations: 15.89 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4684, allocations: 8.031 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.4684, allocations: 0 / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4684, allocations: 0 / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.4684, allocations: 0 / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.933e-05/0.4685, allocations: 125.1 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4685, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000184/0.4687, allocations: 8 kB / 1.331 GB, free: 13.54 MB / 1.029 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.0005281/0.4692, allocations: 0.6093 MB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.4694, allocations: 23.92 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4694, allocations: 3.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.4694, allocations: 8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.4696, allocations: 5.484 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4711, allocations: 1.334 MB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4715, allocations: 0.6885 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.4715, allocations: 12.42 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.4715, allocations: 23.44 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4715, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.4931, allocations: 1.716 MB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.74, allocations: 12 kB / 1.335 GB, free: 9.102 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 18.96089753997512]