Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.0017/0.0017, 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.002576/0.002576, allocations: 194.7 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.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8063, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002658/0.809, allocations: 0.8287 MB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001312/0.8091, allocations: 43.78 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.8092, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.24e-05/0.8092, allocations: 7.875 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.8094, allocations: 15.86 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.784e-05/0.8094, allocations: 15.98 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.8096, allocations: 59.86 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.8098, allocations: 47.94 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.8099, allocations: 23.88 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.8099, allocations: 31.78 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.81, allocations: 8 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.81, allocations: 8 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.81, allocations: 7.938 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.8101, allocations: 39.8 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.8102, allocations: 73.67 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8102, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.806e-06/0.8102, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.8102, allocations: 0 / 1.018 GB, free: 1.305 MB / 0.7637 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.0005449/0.8108, allocations: 384.9 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8108, allocations: 8.031 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.8109, allocations: 12.84 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.8112, allocations: 188.2 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.8112, allocations: 12.38 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.8112, allocations: 4.375 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.8115, allocations: 99.84 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.8115, allocations: 192 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.8115, allocations: 7.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.8115, allocations: 3.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.8116, allocations: 35.92 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.8123, allocations: 436.6 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.13e-05/0.8124, allocations: 37.28 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.8125, allocations: 25.83 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.8125, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.8125, allocations: 34.5 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.8125, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.8127, allocations: 57.48 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.8128, allocations: 77.11 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.8129, allocations: 162.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.813, allocations: 29.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.813, allocations: 111.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/0.8131, allocations: 3.906 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.8131, allocations: 21.64 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8132, allocations: 322.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.8133, allocations: 8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.8133, allocations: 17.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.8133, allocations: 29.72 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8133, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.034e-05/0.8134, allocations: 61.53 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8135, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8135, allocations: 7.938 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.8135, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.8136, allocations: 8 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8136, allocations: 64 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.8136, allocations: 8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.8136, allocations: 4 kB / 1.021 GB, free: 14.86 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 8.365e-05/0.8137, allocations: 113.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.8138, allocations: 11.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.8138, allocations: 11.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8138, allocations: 7.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.8138, allocations: 96 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.8139, allocations: 3.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.8143, allocations: 470.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8143, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.8143, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8143, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.8143, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8143, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8144, allocations: 7.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/0.8144, allocations: 85.83 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.8145, allocations: 92.94 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.8145, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.8145, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.8146, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.8146, allocations: 7.938 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.8147, allocations: 122.3 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8147, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001908/0.8149, allocations: 8 kB / 1.021 GB, free: 13.8 MB / 0.7794 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.0001286/0.815, allocations: 99.25 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.8151, allocations: 15.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8151, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.8151, allocations: 7.938 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.8153, allocations: 16.19 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.8156, allocations: 154.8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.816, allocations: 0.7002 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.816, allocations: 4.438 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.816, allocations: 11.44 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.816, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.002601/0.8187, allocations: 452.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches