Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008612/0.008612, allocations: 101 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 196.3 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.047/2.047, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.621/3.621, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 66.83 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4635, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00405/0.4676, allocations: 0.8137 MB / 1.088 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002639/0.4679, allocations: 47.78 kB / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.4681, allocations: 0 / 1.088 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.939e-05/0.4681, allocations: 11.86 kB / 1.088 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.4683, allocations: 11.88 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.548e-05/0.4684, allocations: 11.98 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.4686, allocations: 63.84 kB / 1.088 GB, free: 1.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.4689, allocations: 51.88 kB / 1.088 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.4689, allocations: 27.81 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.4691, allocations: 31.84 kB / 1.089 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.4691, allocations: 4 kB / 1.089 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.4691, allocations: 8 kB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.4692, allocations: 11.94 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.4693, allocations: 47.73 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.4695, allocations: 70.45 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4695, allocations: 4 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4695, allocations: 0 / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4695, allocations: 0 / 1.089 GB, free: 0.8086 MB / 0.8419 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.0007099/0.4702, allocations: 380.1 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.4703, allocations: 8.031 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.4704, allocations: 38.75 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.4704, allocations: 16.75 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.4708, allocations: 196.2 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.4708, allocations: 4.375 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.4709, allocations: 12.31 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.4712, allocations: 89.67 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4712, allocations: 3.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.4712, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4713, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4714, allocations: 35.92 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.4723, allocations: 444.6 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.4724, allocations: 37.31 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.4725, allocations: 17.72 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4725, allocations: 4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.4726, allocations: 34.56 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.4726, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002898/0.4729, allocations: 61.47 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.473, allocations: 77.11 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.4732, allocations: 157.3 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4733, allocations: 29.95 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.4734, allocations: 104 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.4734, allocations: 7.844 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.4735, allocations: 17.72 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4737, allocations: 322.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/0.4737, allocations: 4 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.4738, allocations: 21.66 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.4738, allocations: 29.66 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4739, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001477/0.474, allocations: 65.53 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4741, allocations: 7.938 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.4741, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4741, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.4742, allocations: 8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4742, allocations: 3.984 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.4743, allocations: 11.91 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4743, allocations: 7.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 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.0001149/0.4744, allocations: 113.8 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.4745, allocations: 11.84 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.4746, allocations: 7.875 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4746, allocations: 4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4746, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4746, allocations: 96 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.4753, allocations: 470.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.4753, allocations: 7.969 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.4753, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4753, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4754, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.4754, allocations: 3.938 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4754, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.4755, allocations: 81.91 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.4756, allocations: 93 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4757, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.4757, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.4758, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.4758, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001494/0.4759, allocations: 121.1 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.755e-06/0.476, allocations: 4.031 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003708/0.4763, allocations: 7.938 kB / 1.092 GB, free: 13.28 MB / 0.8575 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.0005929/0.4769, allocations: 0.617 MB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.4771, allocations: 27.95 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4771, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.4772, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4775, allocations: 15.84 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4796, allocations: 1.332 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4801, allocations: 0.6968 MB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.686e-05/0.4801, allocations: 8.422 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.4802, allocations: 19.44 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.4802, allocations: 0 / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.5064, allocations: 1.573 MB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.71, allocations: 15.12 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches