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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001526/0.001526, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001757/0.001757, allocations: 177.3 kB / 15.95 MB, free: 216 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.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.647/2.647, allocations: 436.5 MB / 0.7104 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 16 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7545, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001009/0.7556, allocations: 0.5236 MB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.7558, allocations: 47.78 kB / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.7558, allocations: 0 / 1.021 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.7558, allocations: 7.922 kB / 1.021 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.1e-05/0.7559, allocations: 4 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.846e-05/0.756, allocations: 11.98 kB / 1.021 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.7561, allocations: 35.91 kB / 1.021 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.7562, allocations: 40.14 kB / 1.021 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.7563, allocations: 15.86 kB / 1.021 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.7563, allocations: 19.86 kB / 1.021 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.7563, allocations: 4 kB / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-06/0.7564, allocations: 0 / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.7564, allocations: 11.94 kB / 1.022 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.7564, allocations: 41.64 kB / 1.022 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.7565, allocations: 47.88 kB / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.7565, allocations: 0 / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7565, allocations: 0 / 1.022 GB, free: 316 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7565, allocations: 0 / 1.022 GB, free: 316 kB / 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.0004864/0.757, allocations: 365.1 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.7571, allocations: 11.98 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.7571, allocations: 15.81 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.7574, allocations: 194.9 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.7574, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.7575, allocations: 8 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.7576, allocations: 99.17 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7576, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.7576, allocations: 8 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7577, allocations: 3.938 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.7578, allocations: 39.92 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.7584, allocations: 436.7 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.482e-05/0.7584, allocations: 37.19 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.7585, allocations: 4 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.7585, allocations: 38.69 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7585, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001997/0.7587, allocations: 57.48 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.7588, allocations: 77.11 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.7589, allocations: 163.1 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.759, allocations: 25.7 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.759, allocations: 108.2 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.7591, allocations: 7.844 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.7591, allocations: 8 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7592, allocations: 310.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.024e-05/0.7592, allocations: 11.98 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.699e-05/0.7593, allocations: 17.72 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.439e-05/0.7593, allocations: 4 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7593, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.548e-05/0.7594, allocations: 65.53 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7594, allocations: 5.25 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7594, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7595, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.7595, allocations: 15.95 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7596, allocations: 3.984 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.7596, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.7596, allocations: 4 kB / 1.024 GB, free: 13.96 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 9.582e-05/0.7597, allocations: 121.8 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.7598, allocations: 7.906 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.7598, allocations: 11.86 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7598, allocations: 4 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.7598, allocations: 3.953 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7598, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.7602, allocations: 466.7 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7602, allocations: 8 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.7603, allocations: 7.938 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.7603, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.7603, allocations: 3.953 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.7603, allocations: 0 / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.7603, allocations: 7.984 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.572e-05/0.7604, allocations: 87.62 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.7605, allocations: 100.9 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.7605, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.7605, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.1e-05/0.7605, allocations: 0 / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.7605, allocations: 4 kB / 1.024 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.179e-05/0.7606, allocations: 117.1 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7606, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002047/0.7608, allocations: 11.94 kB / 1.025 GB, free: 12.89 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.000116/0.761, allocations: 99.28 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.761, allocations: 19.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7611, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.7611, allocations: 11.94 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.7612, allocations: 7.938 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.7616, allocations: 174.8 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.7619, allocations: 0.6965 MB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.762, allocations: 12.42 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.762, allocations: 11.44 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.762, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of Templates: time 0.002423/0.7644, allocations: 416 kB / 1.026 GB, free: 11.39 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches