Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, 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.002614/0.002614, allocations: 197 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.7 MB / 0.7451 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 69.75 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4222, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.003646/0.4259, allocations: 0.8317 MB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.4261, allocations: 47.78 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.4262, allocations: 4 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.427e-05/0.4263, allocations: 7.875 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.4264, allocations: 3.938 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.252e-05/0.4265, allocations: 19.98 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.4266, allocations: 63.78 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.4268, allocations: 39.97 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.4269, allocations: 27.86 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.427, allocations: 31.78 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.427, allocations: 8 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.4271, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.4271, allocations: 19.92 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.4271, allocations: 35.73 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.4273, allocations: 68.06 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4273, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4273, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4273, allocations: 0 / 1.069 GB, free: 9.281 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.0005625/0.4279, allocations: 383.1 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.428, allocations: 11.97 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.428, allocations: 8.844 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.4283, allocations: 200.1 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4283, allocations: 4.375 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.4284, allocations: 12.38 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.4286, allocations: 93.44 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.4286, allocations: 192 / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4286, allocations: 11.94 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4286, allocations: 0 / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.4287, allocations: 35.98 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.4294, allocations: 436.5 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.4295, allocations: 37.16 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.4296, allocations: 17.84 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.4296, allocations: 8.016 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.4296, allocations: 34.56 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4296, allocations: 0 / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.4298, allocations: 57.48 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.4299, allocations: 81.11 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.4301, allocations: 160.3 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4301, allocations: 29.7 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.4302, allocations: 108.2 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.4302, allocations: 3.906 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.4303, allocations: 17.72 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4304, allocations: 322.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.4304, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.4305, allocations: 25.7 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.4305, allocations: 29.66 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4305, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.78e-05/0.4306, allocations: 53.61 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4307, allocations: 8 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4307, allocations: 11.95 kB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4307, allocations: 3.984 kB / 1.072 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.4308, allocations: 7.938 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4308, allocations: 4 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.4308, allocations: 7.844 kB / 1.072 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4309, allocations: 12.06 kB / 1.072 GB, free: 6.828 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 9.304e-05/0.431, allocations: 111.9 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.431, allocations: 11.84 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.431, allocations: 19.8 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4311, allocations: 0 / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4311, allocations: 4 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.4311, allocations: 0 / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.4316, allocations: 474.8 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4316, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.4316, allocations: 4 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4316, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4316, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4316, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4316, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.4318, allocations: 89.83 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.4319, allocations: 85.02 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4319, allocations: 7.984 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.4319, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.4319, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.4319, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001125/0.4321, allocations: 126.1 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4321, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001967/0.4323, allocations: 15.94 kB / 1.072 GB, free: 5.785 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.0001466/0.4324, allocations: 95.25 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.4325, allocations: 19.94 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4325, allocations: 0 / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.032e-05/0.4326, allocations: 7.984 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4327, allocations: 11.94 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.4331, allocations: 163 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.4334, allocations: 0.6923 MB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.4334, allocations: 12.42 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.4335, allocations: 11.44 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.4335, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.002817/0.4363, allocations: 452.5 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches