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 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.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.0009995/0.0009995, 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.001254/0.001254, 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.534/1.534, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.991/2.991, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 11.78 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00101/0.3834, allocations: 428.5 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3845, allocations: 0.8002 MB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3846, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.3846, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.3847, allocations: 7.922 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.756e-05/0.3848, allocations: 8 kB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.3849, allocations: 39.84 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.385, allocations: 12 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.3851, allocations: 15.92 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.3852, allocations: 15.92 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3852, allocations: 4 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.3852, allocations: 0 / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.3852, allocations: 7.984 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.3853, allocations: 29.7 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.3854, allocations: 27.92 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3854, allocations: 0 / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3854, allocations: 3.938 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3854, allocations: 4 kB / 1.059 GB, free: 3.938 MB / 0.8106 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.0005705/0.386, allocations: 371.4 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.386, allocations: 12.03 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.3861, allocations: 0 / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3862, allocations: 171 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3863, allocations: 4 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3863, allocations: 3.953 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3866, allocations: 77.66 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.3866, allocations: 0 / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.3866, allocations: 3.984 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3866, allocations: 11.94 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.3869, allocations: 87.86 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.3873, allocations: 272.8 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3876, allocations: 66.55 kB / 1.06 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.3877, allocations: 48.91 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.3877, allocations: 4 kB / 1.06 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3878, allocations: 34.56 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3878, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005532/0.3883, allocations: 161.5 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3884, allocations: 55.41 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.3885, allocations: 109.8 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3885, allocations: 29.7 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.3886, allocations: 88.05 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.3886, allocations: 7.906 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.3886, allocations: 3.938 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3887, allocations: 322.8 kB / 1.061 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3889, allocations: 39.97 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.389, allocations: 43.95 kB / 1.061 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3892, allocations: 39.97 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3892, allocations: 0 / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.3895, allocations: 121.6 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3895, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3895, allocations: 0 / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3895, allocations: 4 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3897, allocations: 27.97 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3897, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.3898, allocations: 19.98 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3898, allocations: 4 kB / 1.062 GB, free: 1.516 MB / 0.8106 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.717e-05/0.3899, allocations: 109.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.3899, allocations: 7.906 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.39, allocations: 11.91 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.39, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.39, allocations: 3.984 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.39, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3902, allocations: 173.6 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3902, allocations: 0 / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.812e-05/0.3903, allocations: 23.92 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3903, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3903, allocations: 3.938 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3903, allocations: 8 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3903, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3907, allocations: 219.8 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.3907, allocations: 88.91 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3908, allocations: 0 / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3909, allocations: 15.98 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.3909, allocations: 11.98 kB / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.3909, allocations: 0 / 1.062 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.391, allocations: 87.58 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.391, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002166/0.3912, allocations: 8 kB / 1.062 GB, free: 0.6602 MB / 0.8106 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.0001524/0.3914, allocations: 95.25 kB / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.3917, allocations: 95.86 kB / 1.062 GB, free: 476 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3917, allocations: 4 kB / 1.062 GB, free: 472 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3919, allocations: 43.97 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3922, allocations: 11.92 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.3925, allocations: 136.6 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3928, allocations: 0.677 MB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.3928, allocations: 4 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.3929, allocations: 7.438 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.3929, allocations: 0 / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.002793/0.3957, allocations: 0.5257 MB / 1.064 GB, free: 15.01 MB / 0.8262 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=480 -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/jenkins/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