Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 218.4 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 66.67 kB / 1.118 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.351, allocations: 170 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003205/0.3542, allocations: 1.566 MB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.3552, allocations: 0.512 MB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.3552, allocations: 4 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.3553, allocations: 3.938 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.3553, allocations: 7.922 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.3556, allocations: 35.91 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3557, allocations: 39.86 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3558, allocations: 23.97 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.356, allocations: 27.92 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.218e-05/0.3561, allocations: 23.86 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3561, allocations: 4 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.3561, allocations: 8 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.3562, allocations: 11.97 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.3562, allocations: 23.81 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3563, allocations: 52.44 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3563, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3563, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3563, allocations: 0 / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005501/0.3569, allocations: 294.2 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3569, allocations: 8.031 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.631e-05/0.3569, allocations: 4.188 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.357, allocations: 42.67 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3571, allocations: 12.89 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3573, allocations: 126.4 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3574, allocations: 4.375 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.3574, allocations: 8.375 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3576, allocations: 69.53 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3576, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.3576, allocations: 4 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3576, allocations: 4 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3578, allocations: 35.97 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.3583, allocations: 263.9 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.3586, allocations: 66.47 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3587, allocations: 20.91 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.3587, allocations: 0 / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3588, allocations: 46.55 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3588, allocations: 0 / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004038/0.3592, allocations: 81.59 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3592, allocations: 51.41 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.3594, allocations: 133.9 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3594, allocations: 25.7 kB / 1.288 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.3594, allocations: 96.16 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3595, allocations: 11.95 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.3595, allocations: 17.7 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3597, allocations: 318.8 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3598, allocations: 15.98 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.3599, allocations: 19.98 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.36, allocations: 40.83 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.36, allocations: 4 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002216/0.3603, allocations: 69.56 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3603, allocations: 4 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3603, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3603, allocations: 0 / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.3604, allocations: 11.98 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.3604, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.3604, allocations: 11.92 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3604, allocations: 11.94 kB / 1.288 GB, free: 7.371 MB / 0.9825 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.635e-05/0.3605, allocations: 109.8 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3606, allocations: 7.953 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.3606, allocations: 8 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.3606, allocations: 0 / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3606, allocations: 0 / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.3606, allocations: 7.922 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3608, allocations: 140.7 kB / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3608, allocations: 0 / 1.289 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.3609, allocations: 15.98 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3609, allocations: 0 / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3609, allocations: 0 / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3609, allocations: 0 / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3609, allocations: 0 / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3612, allocations: 183.3 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.3612, allocations: 0 / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.3612, allocations: 12.38 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.3613, allocations: 0 / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.3613, allocations: 7.984 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3613, allocations: 3.938 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.3614, allocations: 102.9 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3614, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.3616, allocations: 7.938 kB / 1.289 GB, free: 6.707 MB / 0.9825 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.0006263/0.3623, allocations: 0.7123 MB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.3625, allocations: 31.97 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3625, allocations: 0 / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.3626, allocations: 19.98 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3629, allocations: 15.94 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3646, allocations: 1.358 MB / 1.291 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.365, allocations: 0.6846 MB / 1.292 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.365, allocations: 4 kB / 1.292 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.3651, allocations: 15.44 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.3651, allocations: 0 / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.3933, allocations: 1.677 MB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.23, allocations: 20.5 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.924094635993242]