Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007806/0.007807, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001607/0.001607, allocations: 189.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.89 kB / 1.054 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9827/0.9839, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.004079/0.9881, allocations: 0.8207 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002726/0.9884, allocations: 43.78 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.9886, allocations: 4 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.287e-05/0.9887, allocations: 7.875 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.989, allocations: 11.86 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.9891, allocations: 19.98 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.9893, allocations: 55.84 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.9897, allocations: 55.91 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.9898, allocations: 23.86 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.9899, allocations: 27.8 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.9899, allocations: 4 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.99, allocations: 8 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.99, allocations: 15.92 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.9901, allocations: 35.81 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.9903, allocations: 75.69 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.9903, allocations: 4 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9903, allocations: 3.938 kB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.9903, allocations: 0 / 1.209 GB, free: 12.38 MB / 0.9356 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.0006845/0.991, allocations: 380.8 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.9911, allocations: 8.031 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.9912, allocations: 8.844 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.9915, allocations: 196.1 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.9915, allocations: 8.375 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.9916, allocations: 8.375 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.9918, allocations: 93.61 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.9918, allocations: 192 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.9918, allocations: 7.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9919, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.992, allocations: 39.97 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.9927, allocations: 440.5 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.975e-05/0.9928, allocations: 41.16 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.9929, allocations: 21.88 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.9929, allocations: 4 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.9929, allocations: 38.56 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/0.993, allocations: 0 / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002377/0.9932, allocations: 57.47 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.9933, allocations: 81.11 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.9935, allocations: 160.4 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.9935, allocations: 29.7 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.9936, allocations: 104 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.9936, allocations: 4.156 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.9937, allocations: 21.72 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9938, allocations: 318.8 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.9939, allocations: 8 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.837e-05/0.9939, allocations: 17.72 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.994, allocations: 33.64 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.994, allocations: 4 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.9941, allocations: 49.61 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.9941, allocations: 4 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.9941, allocations: 11.97 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.9942, allocations: 3.984 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.9942, allocations: 7.984 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.9943, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.9943, allocations: 7.906 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.9943, allocations: 3.938 kB / 1.211 GB, free: 9.945 MB / 0.9356 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.0001211/0.9945, allocations: 117.9 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.9945, allocations: 7.906 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.9946, allocations: 15.81 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.9946, allocations: 0 / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.9946, allocations: 3.984 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.9946, allocations: 4 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.9952, allocations: 470.8 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.9952, allocations: 4 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.9952, allocations: 0 / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.9952, allocations: 4 kB / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.9953, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.9953, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9953, allocations: 0 / 1.212 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.9954, allocations: 85.83 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.9955, allocations: 92.95 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.9955, allocations: 0 / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.912e-05/0.9956, allocations: 4 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.9956, allocations: 3.984 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.9956, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001371/0.9957, allocations: 121.3 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9958, allocations: 0 / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002952/0.9961, allocations: 11.91 kB / 1.212 GB, free: 8.902 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.0001527/0.9962, allocations: 99.28 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.9964, allocations: 19.94 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9964, allocations: 3.938 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.9964, allocations: 8 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.9966, allocations: 11.94 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.9971, allocations: 171 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.9975, allocations: 0.6885 MB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.9976, allocations: 8.422 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.9976, allocations: 11.44 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.9976, allocations: 0 / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.003768/1.001, allocations: 476.5 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches