Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001249/0.001249, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.481/1.481, allocations: 222.9 MB / 240.6 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.665 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.6581, allocations: 140.3 MB / 0.9498 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002123/0.6603, allocations: 0.7679 MB / 0.9505 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.6611, allocations: 0.8064 MB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.6611, allocations: 4 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.6612, allocations: 0 / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.6612, allocations: 13.28 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.6614, allocations: 10.75 kB / 0.9514 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.6615, allocations: 40.41 kB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.6616, allocations: 9.5 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.6617, allocations: 21.36 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.6617, allocations: 25.36 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.6617, allocations: 8.125 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.6618, allocations: 4.125 kB / 0.9515 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.6618, allocations: 11.92 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.6618, allocations: 16.05 kB / 0.9515 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.091e-05/0.6619, allocations: 25.44 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6619, allocations: 1.375 kB / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6619, allocations: 0 / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.6619, allocations: 0 / 0.9515 GB, free: 7.809 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004575/0.6624, allocations: 376.6 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.6624, allocations: 9.625 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.6625, allocations: 3.688 kB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.796e-05/0.6625, allocations: 167 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.6626, allocations: 384 / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.6626, allocations: 3.125 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.6628, allocations: 66.84 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.6628, allocations: 192 / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6629, allocations: 9.312 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6629, allocations: 11.86 kB / 0.9521 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.6633, allocations: 59.69 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.6637, allocations: 263.4 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.6639, allocations: 65.03 kB / 0.9525 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.664, allocations: 34.3 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.6641, allocations: 1.281 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.6641, allocations: 39.67 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.6641, allocations: 4 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005607/0.6647, allocations: 125.5 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.6647, allocations: 52.41 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.6648, allocations: 107.6 kB / 0.9528 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.6648, allocations: 29.7 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.6648, allocations: 90.38 kB / 0.953 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.6648, allocations: 12.91 kB / 0.953 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.6649, allocations: 13.53 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.6649, allocations: 316.4 kB / 0.9533 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.665, allocations: 32.61 kB / 0.9533 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.6652, allocations: 37.78 kB / 0.9534 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.6654, allocations: 72.02 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6654, allocations: 3.938 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000273/0.6657, allocations: 97.12 kB / 0.9535 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6657, allocations: 9.062 kB / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6657, allocations: 0 / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.6658, allocations: 1.188 kB / 0.9535 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.6659, allocations: 26.41 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6659, allocations: 0 / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.325e-05/0.666, allocations: 11.58 kB / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.666, allocations: 0 / 0.9536 GB, free: 5.832 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 5.331e-05/0.6661, allocations: 124.3 kB / 0.9537 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.6661, allocations: 2.594 kB / 0.9537 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.6664, allocations: 100.2 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6664, allocations: 0 / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.6664, allocations: 1.281 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6664, allocations: 3.984 kB / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.6666, allocations: 172.8 kB / 0.954 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6666, allocations: 5.625 kB / 0.954 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.6667, allocations: 17.89 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6667, allocations: 0 / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6667, allocations: 1.25 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6667, allocations: 0 / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6667, allocations: 0 / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.6671, allocations: 209.2 kB / 0.9542 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.6671, allocations: 78.2 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.6672, allocations: 0 / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.6673, allocations: 10.77 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.6674, allocations: 11.23 kB / 0.9543 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.6674, allocations: 0 / 0.9543 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.6674, allocations: 90.11 kB / 0.9544 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6674, allocations: 4 kB / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002146/0.6676, allocations: 6.844 kB / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001248/0.6678, allocations: 97.84 kB / 0.9545 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.6681, allocations: 69.67 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6681, allocations: 1.438 kB / 0.9545 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.6683, allocations: 35.81 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6686, allocations: 18.41 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.6689, allocations: 154.1 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.669, allocations: 0.6877 MB / 0.9554 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.669, allocations: 14.09 kB / 0.9554 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.669, allocations: 0 / 0.9554 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of Templates: time 0.00186/0.6709, allocations: 0.7372 MB / 0.9561 GB, free: 3.645 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches