Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_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_10_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.001407/0.001407, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001613/0.001613, allocations: 168.7 kB / 15.95 MB, free: 204 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.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.41 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.79/2.79, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 19.98 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8424, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001374/0.8439, allocations: 426.2 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.8453, allocations: 0.8039 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.8454, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.8455, allocations: 0 / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.8456, allocations: 11.92 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.263e-05/0.8457, allocations: 8 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.8458, allocations: 39.84 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.846, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.8461, allocations: 15.98 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.8462, allocations: 15.92 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.8462, allocations: 7.984 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-06/0.8462, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.8462, allocations: 15.92 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.8463, allocations: 29.7 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.93e-05/0.8463, allocations: 23.94 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8464, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8464, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8464, allocations: 0 / 1.024 GB, free: 14.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005882/0.847, allocations: 373.2 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.847, allocations: 12.03 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.8471, allocations: 3.906 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.8472, allocations: 171 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.8472, allocations: 3.938 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.8473, allocations: 3.938 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.8475, allocations: 85.61 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.8475, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.8476, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.8476, allocations: 4 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.8479, allocations: 83.92 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.8483, allocations: 272.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.8485, allocations: 70.47 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.8486, allocations: 56.91 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8487, allocations: 4 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.8487, allocations: 30.56 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/0.8487, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005632/0.8493, allocations: 165.5 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.8493, allocations: 55.34 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.8494, allocations: 109.8 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.8495, allocations: 29.7 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.8496, allocations: 80.14 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.8496, allocations: 23.73 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-06/0.8496, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8498, allocations: 318.8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.8499, allocations: 39.97 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.8501, allocations: 47.95 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.8502, allocations: 35.97 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8502, allocations: 3.953 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003224/0.8506, allocations: 117.6 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.8506, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8506, allocations: 4 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.8506, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.8508, allocations: 23.91 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8508, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.8509, allocations: 15.98 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.8509, allocations: 12 kB / 1.026 GB, free: 12.2 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.851, allocations: 109.8 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.851, allocations: 11.86 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.8511, allocations: 7.906 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8511, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8511, allocations: 3.984 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8511, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.8513, allocations: 165.7 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8513, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.8514, allocations: 27.94 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.8514, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.8514, allocations: 7.938 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.8514, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8514, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.8518, allocations: 215.4 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.8518, allocations: 81.02 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.8518, allocations: 11.95 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.8519, allocations: 20.3 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.221e-05/0.852, allocations: 7.984 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.852, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.8521, allocations: 87.27 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8521, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002164/0.8523, allocations: 8 kB / 1.027 GB, free: 11.35 MB / 0.7794 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 (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.0001458/0.8524, allocations: 99.25 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.8528, allocations: 95.91 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8528, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.8529, allocations: 43.91 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.8532, allocations: 15.98 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.8536, allocations: 124.7 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.8538, allocations: 0.6809 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.8539, allocations: 4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.8539, allocations: 7.438 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8539, allocations: 0 / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of Templates: time 0.002747/0.8567, allocations: 0.5181 MB / 1.028 GB, free: 9.711 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches