Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 103.2 kB / 16.27 MB, free: 6 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.001439/0.001439, allocations: 191.9 kB / 17.2 MB, free: 5.609 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 482.4 MB / 0.7553 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 72.17 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.752, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001988/0.754, allocations: 0.704 MB / 1.084 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.7549, allocations: 0.7934 MB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.7549, allocations: 0.5625 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.755, allocations: 5.797 kB / 1.084 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.755, allocations: 9.312 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.795e-05/0.7551, allocations: 14.3 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.7552, allocations: 43.48 kB / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.7553, allocations: 9.688 kB / 1.084 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.556e-05/0.7554, allocations: 21.02 kB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.7554, allocations: 23.08 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.7554, allocations: 3.438 kB / 1.085 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.7555, allocations: 7.312 kB / 1.085 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.7555, allocations: 6.906 kB / 1.085 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.7555, allocations: 22.22 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.043e-05/0.7556, allocations: 39.52 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.7556, allocations: 0.7969 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7556, allocations: 0.8438 kB / 1.085 GB, free: 500 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7556, allocations: 0 / 1.085 GB, free: 500 kB / 0.8262 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.0004328/0.7561, allocations: 362.9 kB / 1.085 GB, free: 124 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.7561, allocations: 12.44 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.7561, allocations: 11.72 kB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.7563, allocations: 164 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.7563, allocations: 2.812 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.7563, allocations: 2.344 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.7566, allocations: 67.48 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.7566, allocations: 4.875 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.7566, allocations: 7.875 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7566, allocations: 0.75 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.7569, allocations: 66.5 kB / 1.085 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.7573, allocations: 267.4 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.7575, allocations: 62.38 kB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.7577, allocations: 40.42 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.7577, allocations: 5.734 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.7577, allocations: 30.56 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7577, allocations: 1.031 kB / 1.086 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0005343/0.7583, allocations: 131.9 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.7583, allocations: 53.69 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.7584, allocations: 114.7 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.7585, allocations: 25.7 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.7585, allocations: 91.69 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.7586, allocations: 17.88 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.7586, allocations: 13.33 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7588, allocations: 317.7 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.7589, allocations: 34.33 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.7591, allocations: 31.77 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.7593, allocations: 74.66 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7593, allocations: 3.938 kB / 1.087 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003166/0.7597, allocations: 93.45 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7597, allocations: 5.031 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.7597, allocations: 5.656 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.7597, allocations: 0.6875 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.7598, allocations: 14.78 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7598, allocations: 0.6562 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.7599, allocations: 11.28 kB / 1.087 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.7599, allocations: 5.844 kB / 1.087 GB, free: 14.7 MB / 0.8419 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 8.631e-05/0.76, allocations: 116.6 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.7601, allocations: 10.27 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.7601, allocations: 5.578 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7601, allocations: 0.8438 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7601, allocations: 1.75 kB / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.7601, allocations: 0 / 1.087 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.7603, allocations: 170.8 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7603, allocations: 1.094 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.7604, allocations: 15.16 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.7604, allocations: 0.6875 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.7604, allocations: 4.594 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7604, allocations: 5.5 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7604, allocations: 0 / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.7608, allocations: 198.4 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.7609, allocations: 85.73 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.7609, allocations: 2.953 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.761, allocations: 13.69 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.7611, allocations: 7.953 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.7611, allocations: 2.125 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.943e-05/0.7611, allocations: 87.34 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.7611, allocations: 0 / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002086/0.7613, allocations: 6.875 kB / 1.087 GB, free: 14.02 MB / 0.8419 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.0001332/0.7615, allocations: 97.78 kB / 1.087 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.7618, allocations: 70.8 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7618, allocations: 1.25 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.762, allocations: 37.61 kB / 1.088 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.7623, allocations: 17.05 kB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.7627, allocations: 156.9 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.763, allocations: 0.6797 MB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.763, allocations: 13.84 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.763, allocations: 0 / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.002241/0.7653, allocations: 0.7496 MB / 1.089 GB, free: 12.99 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches