Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.00126/0.00126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 195.5 kB / 16.54 MB, free: 6.672 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.41 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2713, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001844/0.2732, allocations: 0.835 MB / 1.054 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.507e-05/0.2733, allocations: 39.78 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.2734, allocations: 3.938 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.2734, allocations: 7.875 kB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-05/0.2735, allocations: 15.88 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.024e-05/0.2735, allocations: 11.98 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.2736, allocations: 63.84 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2738, allocations: 55.95 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.979e-05/0.2738, allocations: 31.8 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.2739, allocations: 27.86 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2739, allocations: 4 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.2739, allocations: 8 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.274, allocations: 11.92 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.274, allocations: 39.73 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2741, allocations: 67.98 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2741, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2741, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.2741, allocations: 4 kB / 1.054 GB, free: 7.086 MB / 0.8106 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.0004194/0.2746, allocations: 375.3 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.2746, allocations: 12.62 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.2747, allocations: 34.75 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.849e-05/0.2747, allocations: 12.84 kB / 1.055 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2749, allocations: 192.1 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2749, allocations: 12.28 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.275, allocations: 8.375 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.2751, allocations: 83.95 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2751, allocations: 15.88 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2751, allocations: 4 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2752, allocations: 3.938 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.2752, allocations: 31.98 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.2758, allocations: 436.7 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.2758, allocations: 45.08 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.2759, allocations: 21.84 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.2759, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2759, allocations: 34.5 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2759, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.2761, allocations: 61.53 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.2762, allocations: 81.05 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2763, allocations: 164.8 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2763, allocations: 25.7 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.2764, allocations: 100 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.2764, allocations: 11.83 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.2765, allocations: 17.72 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2766, allocations: 319.1 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.2766, allocations: 11.98 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.263e-05/0.2766, allocations: 17.72 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/0.2767, allocations: 21.72 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2767, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.077e-05/0.2768, allocations: 65.56 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2768, allocations: 13.66 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2768, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2768, allocations: 0 / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.2769, allocations: 8 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2769, allocations: 0 / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.2769, allocations: 11.78 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.277, allocations: 4 kB / 1.056 GB, free: 4.605 MB / 0.8106 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.47e-05/0.277, allocations: 117.8 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.2771, allocations: 15.88 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.2771, allocations: 3.875 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.2771, allocations: 8 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2771, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2771, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.2775, allocations: 470.8 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2775, allocations: 3.938 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.2775, allocations: 4 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2776, allocations: 8.047 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.2776, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2776, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2776, allocations: 4 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.764e-05/0.2777, allocations: 81.78 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.2777, allocations: 85 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2777, allocations: 8.125 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.2778, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.2778, allocations: 3.984 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.2778, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.411e-05/0.2779, allocations: 119.2 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2779, allocations: 0 / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001854/0.2781, allocations: 12 kB / 1.057 GB, free: 3.566 MB / 0.8106 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.0003165/0.2784, allocations: 0.6132 MB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.2785, allocations: 15.94 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2785, allocations: 4 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.2785, allocations: 15.92 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.2787, allocations: 4.281 kB / 1.058 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2798, allocations: 1.323 MB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.28, allocations: 0.6963 MB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.2801, allocations: 8.422 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.2801, allocations: 23.42 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2801, allocations: 0 / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.2969, allocations: 1.56 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.792/7.089, allocations: 5.938 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches