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.001533/0.001534, allocations: 99.61 kB / 16.27 MB, free: 5.969 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.001796/0.001796, allocations: 193.8 kB / 17.2 MB, free: 5.594 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.462/1.462, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7426 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.17 kB / 0.9088 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002278/0.2981, allocations: 0.8312 MB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.2982, allocations: 39.78 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.2983, allocations: 4 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.2983, allocations: 7.875 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.2985, allocations: 15.92 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.797e-05/0.2985, allocations: 15.98 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.2986, allocations: 63.78 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2988, allocations: 43.91 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.2988, allocations: 31.86 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.2989, allocations: 23.86 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2989, allocations: 8 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.2989, allocations: 8 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.299, allocations: 11.92 kB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.299, allocations: 43.67 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.2991, allocations: 64.06 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.2991, allocations: 3.984 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2991, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2991, allocations: 0 / 1.065 GB, free: 13.78 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.0004002/0.2996, allocations: 379.2 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2996, allocations: 12.62 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.2996, allocations: 12.75 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.2998, allocations: 192.2 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2999, allocations: 12.31 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2999, allocations: 4.375 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3, allocations: 97.92 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3, allocations: 192 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.3001, allocations: 11.94 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3001, allocations: 4 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.3002, allocations: 35.91 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.3007, allocations: 436.6 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/0.3008, allocations: 45.25 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.3008, allocations: 17.78 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.3008, allocations: 0 / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3008, allocations: 34.56 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3009, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.301, allocations: 61.47 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3011, allocations: 77.11 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3012, allocations: 163.5 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.3013, allocations: 25.7 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.3013, allocations: 99.98 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.3013, allocations: 15.89 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.3014, allocations: 9.719 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.3015, allocations: 327.1 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.3015, allocations: 8 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.3015, allocations: 13.72 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.3016, allocations: 29.66 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3016, allocations: 3.938 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.467e-05/0.3017, allocations: 61.53 kB / 1.067 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3017, allocations: 8.062 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3017, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3017, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.3018, allocations: 8 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3018, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.108e-05/0.3019, allocations: 15.84 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3019, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8419 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 7.344e-05/0.302, allocations: 120.5 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.302, allocations: 7.906 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.302, allocations: 19.75 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3021, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3021, allocations: 4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3021, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3024, allocations: 470.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3024, allocations: 0 / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.3025, allocations: 7.984 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3025, allocations: 4.062 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3025, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3025, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3025, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.937e-05/0.3026, allocations: 77.78 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.3027, allocations: 93 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3027, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.3027, allocations: 4.031 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.3027, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3027, allocations: 4 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.171e-05/0.3028, allocations: 121.1 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3028, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001897/0.303, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8419 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.0001097/0.3031, allocations: 103.2 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.142e-05/0.3032, allocations: 23.92 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3032, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.3033, allocations: 8 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.3034, allocations: 7.938 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.3038, allocations: 196.7 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.304, allocations: 0.6931 MB / 1.069 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.3041, allocations: 11.44 kB / 1.069 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3041, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of Templates: time 0.002226/0.3063, allocations: 0.8665 MB / 1.07 GB, free: 8.328 MB / 0.8419 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/jenkins1/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