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 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, 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.001583/0.001583, allocations: 194.2 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.7 MB / 0.7451 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.84 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.39, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002336/0.3923, allocations: 0.8276 MB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001202/0.3925, allocations: 43.78 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3926, allocations: 7.938 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.568e-05/0.3926, allocations: 7.875 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.3927, allocations: 7.875 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.152e-05/0.3928, allocations: 19.97 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3929, allocations: 63.86 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3931, allocations: 39.95 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.3931, allocations: 23.88 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.744e-05/0.3932, allocations: 35.78 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3933, allocations: 11.98 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.3933, allocations: 4 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.3933, allocations: 15.94 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.722e-05/0.3934, allocations: 31.73 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3935, allocations: 68.06 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3935, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3935, allocations: 0 / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.3935, allocations: 0 / 1.069 GB, free: 9.137 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.0005489/0.3941, allocations: 389 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3941, allocations: 8.031 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.3942, allocations: 8.844 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.3944, allocations: 200.1 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3944, allocations: 8.375 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3945, allocations: 8.375 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.3946, allocations: 87.94 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3946, allocations: 4.125 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3947, allocations: 15.94 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3947, allocations: 0 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.3948, allocations: 39.92 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.3953, allocations: 428.6 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.825e-05/0.3954, allocations: 41.19 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.3955, allocations: 25.83 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3955, allocations: 0 / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3955, allocations: 30.56 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3955, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/0.3957, allocations: 57.48 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.3958, allocations: 85.11 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.396, allocations: 160.3 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.396, allocations: 25.7 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.3961, allocations: 108 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.3961, allocations: 3.906 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3961, allocations: 21.66 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3963, allocations: 319.1 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.3963, allocations: 11.94 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.3964, allocations: 25.7 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.3964, allocations: 21.72 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3964, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.252e-05/0.3965, allocations: 61.53 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3965, allocations: 12.06 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3965, allocations: 3.938 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3965, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.3966, allocations: 4 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3966, allocations: 4 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.3967, allocations: 7.844 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3967, allocations: 96 / 1.072 GB, free: 6.695 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 0.0001122/0.3968, allocations: 115.9 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.3968, allocations: 11.89 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.3969, allocations: 23.8 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3969, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3969, allocations: 0 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3969, allocations: 7.938 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.3973, allocations: 470.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3973, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.847e-05/0.3973, allocations: 7.938 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3973, allocations: 4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.3973, allocations: 4.062 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3973, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3973, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.3975, allocations: 81.83 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.3975, allocations: 89 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3975, allocations: 0 / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.3976, allocations: 8.031 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.3976, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.3976, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.3977, allocations: 126.1 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.894e-06/0.3977, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001818/0.3979, allocations: 15.84 kB / 1.072 GB, free: 5.637 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.0001406/0.398, allocations: 95.25 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.113e-05/0.3981, allocations: 23.98 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3981, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.3982, allocations: 7.938 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.3983, allocations: 13.5 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.3987, allocations: 170.3 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.399, allocations: 0.6924 MB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.399, allocations: 4.438 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3991, allocations: 11.44 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3991, allocations: 0 / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.002761/0.4018, allocations: 448.5 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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