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.001592/0.001592, allocations: 108 kB / 15.61 MB, free: 152 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.002092/0.002092, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.64 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4239, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002619/0.4265, allocations: 0.8215 MB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.4267, allocations: 43.78 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.4268, allocations: 4 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.4269, allocations: 11.86 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.427, allocations: 7.875 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.079e-05/0.4271, allocations: 19.98 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.4272, allocations: 59.84 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.4274, allocations: 39.97 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.4275, allocations: 35.78 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.4276, allocations: 23.86 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.4276, allocations: 12 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.4276, allocations: 4 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.4276, allocations: 19.92 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.4277, allocations: 31.75 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.4278, allocations: 72.03 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4278, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.805e-06/0.4278, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4279, allocations: 0 / 1.069 GB, free: 9.285 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.0005716/0.4284, allocations: 379.2 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4285, allocations: 12.03 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.4285, allocations: 12.84 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.4288, allocations: 196.1 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.4288, allocations: 4.375 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4288, allocations: 8.375 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.429, allocations: 87.89 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.429, allocations: 192 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.429, allocations: 7.938 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4291, allocations: 7.938 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.4291, allocations: 39.98 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005804/0.4297, allocations: 432.5 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.4298, allocations: 45.28 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.4298, allocations: 13.84 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.4299, allocations: 7.984 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.4299, allocations: 34.56 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4299, allocations: 3.938 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.4301, allocations: 53.75 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4302, allocations: 93.02 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4303, allocations: 154.2 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4303, allocations: 33.7 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.4304, allocations: 104 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.4304, allocations: 7.891 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.4305, allocations: 17.72 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4306, allocations: 318.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.4306, allocations: 8 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.4307, allocations: 21.72 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.4307, allocations: 29.7 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4307, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.4308, allocations: 57.55 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4309, allocations: 5.406 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4309, allocations: 8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4309, allocations: 4 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.431, allocations: 7.984 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.431, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.431, allocations: 11.84 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.431, allocations: 0 / 1.071 GB, free: 6.84 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 8.772e-05/0.4311, allocations: 118.3 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.4312, allocations: 7.906 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.4312, allocations: 15.81 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4312, allocations: 4 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4312, allocations: 3.938 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.4313, allocations: 7.984 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.4317, allocations: 462.8 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4318, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.4318, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4318, allocations: 4 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4318, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4318, allocations: 4.062 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4318, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.4319, allocations: 81.83 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.432, allocations: 88.95 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.432, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.306e-05/0.432, allocations: 4 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.4321, allocations: 8.016 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.4321, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.807e-05/0.4322, allocations: 121.5 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4322, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002185/0.4324, allocations: 11.91 kB / 1.072 GB, free: 5.793 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.0001412/0.4325, allocations: 95.25 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.823e-05/0.4327, allocations: 23.88 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4327, allocations: 4.125 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.4327, allocations: 4 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.4329, allocations: 13.83 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.4332, allocations: 162.9 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.4336, allocations: 0.6924 MB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.244e-05/0.4336, allocations: 8.422 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.4336, allocations: 11.44 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4336, allocations: 0 / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.00284/0.4365, allocations: 453.3 kB / 1.074 GB, free: 4.277 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