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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004818/0.004818, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001202/0.001202, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 71.89 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002184/1.074, allocations: 0.7097 MB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001079/1.075, allocations: 0.8039 MB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/1.075, allocations: 0 / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/1.075, allocations: 3.938 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/1.075, allocations: 7.938 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.084e-05/1.075, allocations: 15.98 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.747e-05/1.076, allocations: 39.91 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/1.076, allocations: 8 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.936e-05/1.076, allocations: 23.86 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/1.076, allocations: 19.92 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/1.076, allocations: 4 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-06/1.076, allocations: 4 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/1.076, allocations: 19.91 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/1.076, allocations: 15.92 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/1.076, allocations: 39.81 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/1.076, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.026e-06/1.076, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.076, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 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.0005628/1.077, allocations: 365.6 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.077, allocations: 12.03 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/1.077, allocations: 34.75 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/1.077, allocations: 4.844 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.077, allocations: 172.3 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.077, allocations: 384 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/1.077, allocations: 8.375 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/1.077, allocations: 66.16 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.077, allocations: 3.938 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.077, allocations: 4 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/1.077, allocations: 4 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/1.078, allocations: 63.92 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/1.078, allocations: 272.8 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.078, allocations: 58.48 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.078, allocations: 40.91 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.078, allocations: 8 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.078, allocations: 30.56 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/1.078, allocations: 0 / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005498/1.079, allocations: 129.8 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.079, allocations: 51.41 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/1.079, allocations: 109.8 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/1.079, allocations: 25.7 kB / 1.21 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/1.079, allocations: 91.98 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/1.079, allocations: 7.844 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/1.079, allocations: 25.7 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.079, allocations: 310.8 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/1.08, allocations: 31.97 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/1.08, allocations: 35.94 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/1.08, allocations: 76.72 kB / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.08, allocations: 0 / 1.211 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002919/1.08, allocations: 93.62 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.08, allocations: 4 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.08, allocations: 3.938 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.08, allocations: 4 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.081, allocations: 19.92 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.081, allocations: 0 / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.566e-05/1.081, allocations: 19.98 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/1.081, allocations: 3.984 kB / 1.211 GB, free: 9.48 MB / 0.9356 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 9.179e-05/1.081, allocations: 109.8 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/1.081, allocations: 7.906 kB / 1.211 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/1.081, allocations: 11.91 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.081, allocations: 0 / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.081, allocations: 4 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.081, allocations: 0 / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/1.081, allocations: 173.6 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.081, allocations: 0 / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/1.081, allocations: 11.98 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.081, allocations: 0 / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/1.081, allocations: 0 / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/1.081, allocations: 4 kB / 1.211 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.081, allocations: 4 kB / 1.211 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/1.081, allocations: 191.4 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/1.082, allocations: 89 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.082, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/1.082, allocations: 19.92 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/1.082, allocations: 4 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/1.082, allocations: 0 / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.977e-05/1.082, allocations: 87.58 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.082, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002157/1.082, allocations: 8 kB / 1.212 GB, free: 8.664 MB / 0.9356 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.0006657/1.083, allocations: 0.728 MB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003179/1.083, allocations: 67.86 kB / 1.213 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.083, allocations: 8 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/1.083, allocations: 31.97 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/1.083, allocations: 14.28 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/1.084, allocations: 159 kB / 1.213 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/1.084, allocations: 0.6846 MB / 1.213 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.271e-05/1.084, allocations: 7.938 kB / 1.213 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/1.084, allocations: 11.44 kB / 1.213 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/1.084, allocations: 4 kB / 1.213 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/1.105, allocations: 1.632 MB / 1.215 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.588, allocations: 12.05 kB / 1.215 GB, free: 5.309 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > 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