Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_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.001466/0.001466, 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.001418/0.001418, allocations: 195.6 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 67.39 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2359, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001952/0.2379, allocations: 0.8242 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.635e-05/0.238, allocations: 39.78 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.2381, allocations: 8 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/0.2381, allocations: 7.875 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.2382, allocations: 11.86 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-05/0.2382, allocations: 19.98 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.2383, allocations: 59.84 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2385, allocations: 43.95 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.2385, allocations: 27.86 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.832e-05/0.2386, allocations: 23.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.2386, allocations: 4 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.2386, allocations: 8 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.2386, allocations: 19.92 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.2387, allocations: 35.69 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.2388, allocations: 67.98 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.2388, allocations: 8 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2388, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.2388, allocations: 3.984 kB / 1.065 GB, free: 13.02 MB / 0.8262 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.0003782/0.2392, allocations: 368.7 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2392, allocations: 12.03 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.2393, allocations: 42.73 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.2393, allocations: 12.75 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.2395, allocations: 184.2 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2395, allocations: 12.31 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2395, allocations: 12.38 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2397, allocations: 97.19 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2397, allocations: 3.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2397, allocations: 3.984 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2397, allocations: 7.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.2398, allocations: 35.92 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004833/0.2403, allocations: 440.6 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.2403, allocations: 41.31 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.2404, allocations: 17.66 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.495e-06/0.2404, allocations: 4 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2404, allocations: 38.55 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2404, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000141/0.2406, allocations: 53.48 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.2406, allocations: 77.11 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.2408, allocations: 166.2 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2408, allocations: 25.95 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2408, allocations: 105.9 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.2409, allocations: 3.906 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.2409, allocations: 17.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.241, allocations: 322.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.241, allocations: 4 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.2411, allocations: 25.64 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.2411, allocations: 25.72 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.2411, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.203e-05/0.2412, allocations: 61.55 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2412, allocations: 7.938 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.2412, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2413, allocations: 0 / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.2413, allocations: 11.98 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.2413, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.2414, allocations: 15.91 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.2414, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 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.492e-05/0.2414, allocations: 113.8 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.2415, allocations: 11.84 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.2415, allocations: 11.86 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2415, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2415, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2415, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.2419, allocations: 474.8 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.2419, allocations: 3.938 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.2419, allocations: 4 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.242, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.242, allocations: 0 / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.242, allocations: 11.92 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.242, allocations: 0 / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.793e-05/0.2421, allocations: 81.89 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.2421, allocations: 85.02 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.2421, allocations: 8 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.2422, allocations: 3.984 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-06/0.2422, allocations: 0 / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2422, allocations: 7.938 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.33e-05/0.2423, allocations: 122.1 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2423, allocations: 4.031 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001692/0.2425, allocations: 4 kB / 1.068 GB, free: 9.488 MB / 0.8262 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.0003632/0.2428, allocations: 0.6208 MB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.2429, allocations: 27.97 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2429, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.507e-06/0.2429, allocations: 4 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.2431, allocations: 8 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2442, allocations: 1.32 MB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2444, allocations: 0.6885 MB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.2445, allocations: 8.422 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.2445, allocations: 27.44 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2445, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3085/0.553, allocations: 1.544 MB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.452, allocations: 10.11 kB / 1.072 GB, free: 5.156 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches