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: "" <> 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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001421/0.001421, allocations: 195 kB / 16.14 MB, free: 6.656 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.381/2.381, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.59 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2246, allocations: 157.4 MB / 1.052 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001716/0.2264, allocations: 0.7729 MB / 1.053 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006811/0.2271, allocations: 0.8118 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.2271, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.2271, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.2272, allocations: 11.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.396e-05/0.2273, allocations: 7.984 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.2273, allocations: 39.86 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.2274, allocations: 11.98 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.2275, allocations: 27.86 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.2275, allocations: 19.86 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2275, allocations: 4 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.2275, allocations: 0 / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.2276, allocations: 11.98 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.2276, allocations: 15.88 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.161e-05/0.2277, allocations: 35.86 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.2277, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2277, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.2277, allocations: 0 / 1.054 GB, free: 6.352 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.0004222/0.2281, allocations: 363.7 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2281, allocations: 15.97 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.2282, allocations: 30.75 kB / 1.054 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.095e-05/0.2282, allocations: 8.844 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.2283, allocations: 164.3 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2283, allocations: 4.375 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-06/0.2283, allocations: 4.375 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.2286, allocations: 78.14 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.2286, allocations: 3.938 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.2286, allocations: 0 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2286, allocations: 4 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.2289, allocations: 59.92 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.2291, allocations: 268.8 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.2293, allocations: 58.47 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.2295, allocations: 48.91 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2295, allocations: 4 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.2295, allocations: 30.56 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2295, allocations: 0 / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004549/0.23, allocations: 121.6 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.23, allocations: 55.41 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/0.2301, allocations: 109.8 kB / 1.055 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.2301, allocations: 25.7 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.2302, allocations: 92.06 kB / 1.055 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.2302, allocations: 11.81 kB / 1.055 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.2302, allocations: 13.72 kB / 1.055 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2303, allocations: 318.8 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.2305, allocations: 35.91 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2306, allocations: 31.97 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.2309, allocations: 68.72 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2309, allocations: 4 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002843/0.2312, allocations: 97.62 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2312, allocations: 5.094 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2312, allocations: 0 / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.2312, allocations: 11.92 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2313, allocations: 19.92 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2313, allocations: 0 / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.2314, allocations: 16.31 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2314, allocations: 0 / 1.056 GB, free: 3.977 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.2315, allocations: 113.8 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.2315, allocations: 3.906 kB / 1.056 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.2316, allocations: 19.88 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2316, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2316, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.2316, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.2317, allocations: 169.6 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2317, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.2318, allocations: 19.98 kB / 1.056 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2318, allocations: 0 / 1.056 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.2318, allocations: 3.984 kB / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2318, allocations: 0 / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2319, allocations: 0 / 1.056 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2322, allocations: 199.4 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.2322, allocations: 84.95 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.2322, allocations: 4 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2323, allocations: 11.97 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.2324, allocations: 4 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.2324, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.2324, allocations: 91.27 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2324, allocations: 0 / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002009/0.2326, allocations: 8 kB / 1.057 GB, free: 3.16 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 (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.0005601/0.2332, allocations: 0.7241 MB / 1.057 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2335, allocations: 75.86 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2335, allocations: 3.938 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.2336, allocations: 31.97 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2339, allocations: 8 kB / 1.058 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.2342, allocations: 176.7 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2344, allocations: 0.6809 MB / 1.058 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.709e-05/0.2345, allocations: 0 / 1.058 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.2345, allocations: 19.42 kB / 1.058 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.2345, allocations: 7.938 kB / 1.058 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009772/0.2443, allocations: 1.36 MB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.2445, allocations: 207.8 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.697, allocations: 0 / 1.06 GB, free: 15.82 MB / 0.8262 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