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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00111/0.00111, allocations: 91.3 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.814/2.814, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004882, allocations: 15.98 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8182, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001208/0.8195, allocations: 0.5238 MB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000154/0.8197, allocations: 39.83 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.8198, allocations: 4 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.8198, allocations: 3.938 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.8199, allocations: 3.938 kB / 1.023 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.97e-05/0.8199, allocations: 15.98 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.8201, allocations: 55.84 kB / 1.023 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.8202, allocations: 36.16 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.8203, allocations: 15.86 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.8204, allocations: 15.88 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.8204, allocations: 4 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.8204, allocations: 0 / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.8204, allocations: 15.92 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.8205, allocations: 37.64 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.8206, allocations: 51.88 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.8206, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8206, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.8206, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 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.0004286/0.821, allocations: 374.5 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.8211, allocations: 12.03 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.8212, allocations: 7.906 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.8214, allocations: 194.9 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.8214, allocations: 8 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.8214, allocations: 8 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.8216, allocations: 95.25 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8216, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.8217, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.8217, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.796e-05/0.8218, allocations: 35.92 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/0.8224, allocations: 444.6 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.8225, allocations: 33.41 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.8225, allocations: 25.72 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.8226, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8226, allocations: 30.56 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.8226, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.8228, allocations: 65.47 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.8229, allocations: 81.3 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.823, allocations: 172 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.823, allocations: 25.7 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.8231, allocations: 104 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.8231, allocations: 7.844 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.8231, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8233, allocations: 322.8 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.8233, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.8233, allocations: 21.72 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.8234, allocations: 8 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8234, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.68e-05/0.8235, allocations: 57.53 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.8235, allocations: 8 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.8235, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8235, allocations: 7.891 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.8236, allocations: 8 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8236, allocations: 64 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.8237, allocations: 8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.8237, allocations: 4 kB / 1.025 GB, free: 12.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/0.8238, allocations: 117.8 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.8238, allocations: 11.89 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.8238, allocations: 3.875 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8238, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.8239, allocations: 7.953 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8239, allocations: 0 / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.8243, allocations: 478.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8243, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.8243, allocations: 4 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8243, allocations: 3.953 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.8243, allocations: 3.984 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8244, allocations: 3.938 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8244, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.473e-05/0.8245, allocations: 77.97 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.8245, allocations: 89 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.8246, allocations: 7.953 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.8246, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.8246, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.8246, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001004/0.8247, allocations: 126.1 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8247, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001992/0.8249, allocations: 11.94 kB / 1.026 GB, free: 11.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001598/0.8251, allocations: 103.2 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.8252, allocations: 19.98 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8252, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.23e-05/0.8252, allocations: 4 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.8254, allocations: 17.59 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.8258, allocations: 170.5 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.8262, allocations: 0.7004 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.8262, allocations: 4.438 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.8263, allocations: 11.44 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8263, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.00302/0.8293, allocations: 416 kB / 1.028 GB, free: 10.27 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