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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_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.0064/0.0064, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001733/0.001733, allocations: 199 kB / 16.68 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2922, allocations: 162.2 MB / 1.241 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001984/0.2942, allocations: 0.8293 MB / 1.242 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001155/0.2943, allocations: 47.78 kB / 1.242 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.2944, allocations: 4 kB / 1.242 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.84e-05/0.2944, allocations: 7.875 kB / 1.242 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.087e-05/0.2945, allocations: 7.875 kB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.241e-05/0.2945, allocations: 23.97 kB / 1.242 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2947, allocations: 59.84 kB / 1.242 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2948, allocations: 43.95 kB / 1.242 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.2949, allocations: 27.86 kB / 1.242 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.2949, allocations: 27.8 kB / 1.243 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.2949, allocations: 8 kB / 1.243 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.295, allocations: 7.938 kB / 1.243 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.295, allocations: 19.92 kB / 1.243 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.295, allocations: 27.81 kB / 1.243 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.2952, allocations: 75.62 kB / 1.243 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2952, allocations: 7.938 kB / 1.243 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2952, allocations: 0 / 1.243 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2952, allocations: 0 / 1.243 GB, free: 9.02 MB / 0.9981 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.0004447/0.2956, allocations: 379.1 kB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2957, allocations: 8.031 kB / 1.243 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.2957, allocations: 50.67 kB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.2958, allocations: 12.84 kB / 1.243 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.296, allocations: 188.3 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.296, allocations: 4.375 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.296, allocations: 12.38 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2962, allocations: 96.97 kB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2962, allocations: 3.938 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2962, allocations: 4 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2962, allocations: 0 / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.2963, allocations: 35.98 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.2969, allocations: 440.7 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.2969, allocations: 37.16 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.297, allocations: 17.92 kB / 1.244 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.297, allocations: 7.938 kB / 1.244 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.297, allocations: 38.56 kB / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.297, allocations: 0 / 1.244 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.2972, allocations: 53.53 kB / 1.244 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2973, allocations: 81.11 kB / 1.244 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2974, allocations: 160.8 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2975, allocations: 29.7 kB / 1.244 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.2975, allocations: 100.3 kB / 1.244 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.2976, allocations: 7.953 kB / 1.244 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.2976, allocations: 17.72 kB / 1.244 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2977, allocations: 318.8 kB / 1.245 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.2978, allocations: 4 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.2978, allocations: 21.7 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.2979, allocations: 33.66 kB / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2979, allocations: 3.938 kB / 1.245 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.691e-05/0.298, allocations: 57.61 kB / 1.245 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.298, allocations: 11.92 kB / 1.245 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.298, allocations: 4 kB / 1.245 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.298, allocations: 3.938 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.2981, allocations: 7.938 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2981, allocations: 3.984 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.2981, allocations: 7.938 kB / 1.245 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.2981, allocations: 0 / 1.245 GB, free: 6.531 MB / 0.9981 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 9.068e-05/0.2982, allocations: 118.4 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.2983, allocations: 15.89 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.2983, allocations: 15.86 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2983, allocations: 0 / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2983, allocations: 96 / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2983, allocations: 7.984 kB / 1.245 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2988, allocations: 470.7 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2988, allocations: 4 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.2988, allocations: 0 / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2988, allocations: 4 kB / 1.245 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.2988, allocations: 4 kB / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2988, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2988, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.323e-05/0.2989, allocations: 85.88 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.299, allocations: 89.05 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.299, allocations: 0 / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.478e-05/0.2991, allocations: 8 kB / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.217e-05/0.2991, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.2991, allocations: 0 / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.621e-05/0.2992, allocations: 122.1 kB / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2992, allocations: 0 / 1.246 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001921/0.2994, allocations: 8 kB / 1.246 GB, free: 5.484 MB / 0.9981 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.0004286/0.2998, allocations: 0.6171 MB / 1.246 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.2999, allocations: 16 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2999, allocations: 160 / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/0.2999, allocations: 11.94 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.3001, allocations: 11.16 kB / 1.246 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.3014, allocations: 1.332 MB / 1.248 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.3017, allocations: 0.7002 MB / 1.248 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.3018, allocations: 4.438 kB / 1.248 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.3018, allocations: 31.36 kB / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3018, allocations: 0 / 1.248 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.3234, allocations: 1.575 MB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.952, allocations: 10.41 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/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