Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",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.001028/0.001028, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001032/0.001032, allocations: 195.2 kB / 16.14 MB, free: 6.711 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 461.9 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 71.88 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2315, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001698/0.2332, allocations: 0.7277 MB / 1.053 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.234, allocations: 0.8547 MB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.234, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.234, allocations: 0 / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.2341, allocations: 7.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.2342, allocations: 7.984 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.749e-05/0.2343, allocations: 23.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.076e-05/0.2344, allocations: 7.984 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.2344, allocations: 4 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.2344, allocations: 23.86 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2345, allocations: 0 / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.2345, allocations: 4 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.2345, allocations: 3.938 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.2345, allocations: 7.938 kB / 1.054 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.543e-05/0.2346, allocations: 23.94 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2346, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2346, allocations: 0 / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.2346, allocations: 4 kB / 1.054 GB, free: 6.445 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003625/0.235, allocations: 339.8 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.235, allocations: 11.97 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.751e-05/0.235, allocations: 30.75 kB / 1.054 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.2351, allocations: 12.78 kB / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.691e-05/0.2352, allocations: 160.4 kB / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.2352, allocations: 384 / 1.054 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.2352, allocations: 4.375 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.2353, allocations: 46.23 kB / 1.054 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2354, allocations: 3.938 kB / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.2354, allocations: 8 kB / 1.054 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2354, allocations: 0 / 1.054 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.2355, allocations: 35.89 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.2358, allocations: 241 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2359, allocations: 42.5 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.236, allocations: 28.89 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.236, allocations: 0 / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.2361, allocations: 34.5 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2361, allocations: 0 / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003168/0.2364, allocations: 85.73 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.2364, allocations: 51.41 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.2365, allocations: 97.86 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.2365, allocations: 25.7 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.2365, allocations: 88.12 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.2366, allocations: 3.906 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.2366, allocations: 13.72 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.2367, allocations: 314.8 kB / 1.055 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.2368, allocations: 16.02 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.2368, allocations: 23.97 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.237, allocations: 36.77 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.237, allocations: 3.938 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.2372, allocations: 73.62 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2372, allocations: 5.562 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2372, allocations: 0 / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.2372, allocations: 4 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.2373, allocations: 7.984 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.2373, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.2374, allocations: 7.938 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.2374, allocations: 0 / 1.056 GB, free: 4.391 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 (2): * Single equations (assignments): 2 * 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.397e-05/0.2374, allocations: 121.8 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.2375, allocations: 11.92 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.2375, allocations: 3.125 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2375, allocations: 4.125 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2375, allocations: 4 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2375, allocations: 3.984 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.2377, allocations: 157.6 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2377, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.2377, allocations: 7.984 kB / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2377, allocations: 0 / 1.056 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.2377, allocations: 8 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2377, allocations: 0 / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2377, allocations: 0 / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.238, allocations: 163.5 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.238, allocations: 77.11 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.238, allocations: 0 / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.2381, allocations: 12.02 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.2381, allocations: 0 / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.2381, allocations: 4 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.2382, allocations: 83.27 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2382, allocations: 3.938 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002013/0.2384, allocations: 7.906 kB / 1.056 GB, free: 3.641 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 (2): * Single equations (assignments): 2 * 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.0004452/0.2388, allocations: 0.7007 MB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.239, allocations: 35.95 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.239, allocations: 0 / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.2391, allocations: 28.02 kB / 1.057 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.2394, allocations: 4 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.2397, allocations: 133.1 kB / 1.057 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.2399, allocations: 0.677 MB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.2399, allocations: 0 / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.24, allocations: 7.438 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.24, allocations: 4.062 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009412/0.2494, allocations: 1.071 MB / 1.059 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.2496, allocations: 203 kB / 1.059 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.721, allocations: 8 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches