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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_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.0008725/0.0008725, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005258/0.005258, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.239/1.239, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.385/2.385, allocations: 443.4 MB / 0.7176 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 9.25 kB / 0.8797 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.226, allocations: 155.2 MB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0008884/0.2269, allocations: 0.542 MB / 1.032 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 9.536e-05/0.227, allocations: 43.78 kB / 1.032 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.2271, allocations: 4 kB / 1.032 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.2271, allocations: 7.922 kB / 1.032 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.2272, allocations: 3.938 kB / 1.032 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.95e-05/0.2272, allocations: 12 kB / 1.032 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.2273, allocations: 63.75 kB / 1.032 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2274, allocations: 39.95 kB / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.2275, allocations: 27.8 kB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.2275, allocations: 15.86 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2276, allocations: 0 / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.136e-06/0.2276, allocations: 4 kB / 1.032 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.2276, allocations: 7.938 kB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.2276, allocations: 49.52 kB / 1.032 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.2277, allocations: 75.89 kB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2277, allocations: 4 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2277, allocations: 0 / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2278, allocations: 3.938 kB / 1.032 GB, free: 3.328 MB / 0.7794 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.0003325/0.2281, allocations: 363.3 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2281, allocations: 12.03 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.2282, allocations: 34.75 kB / 1.033 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.2282, allocations: 16.83 kB / 1.033 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.2284, allocations: 188.2 kB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2284, allocations: 12.38 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2284, allocations: 4.375 kB / 1.033 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2286, allocations: 91.95 kB / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.2286, allocations: 3.938 kB / 1.033 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2286, allocations: 3.938 kB / 1.033 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2286, allocations: 0 / 1.033 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.2287, allocations: 39.97 kB / 1.033 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.2291, allocations: 440.5 kB / 1.033 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.505e-05/0.2292, allocations: 41.34 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.2292, allocations: 17.78 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.2293, allocations: 7.938 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2293, allocations: 42.48 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2293, allocations: 0 / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000141/0.2294, allocations: 53.53 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.2295, allocations: 81.05 kB / 1.034 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2296, allocations: 164.9 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.2296, allocations: 29.95 kB / 1.034 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.2297, allocations: 103.9 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.2297, allocations: 4 kB / 1.034 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.2297, allocations: 13.72 kB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.2298, allocations: 318.8 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.2299, allocations: 4 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.2299, allocations: 21.72 kB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.2299, allocations: 26.28 kB / 1.034 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.2299, allocations: 3.984 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.522e-05/0.23, allocations: 57.55 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.23, allocations: 7.938 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.23, allocations: 4 kB / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.2301, allocations: 0 / 1.034 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.2301, allocations: 4 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2301, allocations: 3.984 kB / 1.034 GB, free: 0.8828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.2302, allocations: 15.91 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2302, allocations: 0 / 1.034 GB, free: 0.8672 MB / 0.7794 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 6.424e-05/0.2302, allocations: 121.7 kB / 1.034 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.2303, allocations: 15.78 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.2303, allocations: 11.88 kB / 1.034 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2303, allocations: 0 / 1.034 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2303, allocations: 4 kB / 1.034 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2303, allocations: 7.984 kB / 1.034 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.2307, allocations: 466.8 kB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2307, allocations: 4 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.2307, allocations: 0 / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2307, allocations: 4 kB / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.2307, allocations: 0 / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2307, allocations: 0 / 1.035 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2307, allocations: 3.938 kB / 1.035 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.299e-05/0.2308, allocations: 89.83 kB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2309, allocations: 85.02 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2309, allocations: 0 / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.2309, allocations: 4 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.2309, allocations: 3.984 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2309, allocations: 0 / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.616e-05/0.231, allocations: 121.1 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.231, allocations: 4.031 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001814/0.2312, allocations: 11.91 kB / 1.035 GB, free: 15.82 MB / 0.795 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.0002935/0.2315, allocations: 0.6132 MB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.57e-05/0.2316, allocations: 27.95 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2316, allocations: 0 / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/0.2316, allocations: 4 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2318, allocations: 8 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009772/0.2328, allocations: 1.34 MB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.233, allocations: 0.6926 MB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.706e-05/0.233, allocations: 4.438 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.2331, allocations: 27.42 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.2331, allocations: 0 / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/0.2779, allocations: 1.369 MB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.2781, allocations: 216.3 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.923, allocations: 2.953 kB / 1.039 GB, free: 11.45 MB / 0.795 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