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.002116/0.002116, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.002513/0.002513, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.723/2.723, allocations: 476.7 MB / 0.7678 GB, free: 9.328 MB / 0.6075 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.002005/0.002005, allocations: 72.08 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.00299/1.028, allocations: 1.551 MB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000939/1.029, allocations: 0.5138 MB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/1.029, allocations: 1.062 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/1.029, allocations: 6.469 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/1.029, allocations: 9.516 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/1.029, allocations: 31.78 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/1.029, allocations: 47.31 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/1.029, allocations: 15.94 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/1.029, allocations: 27.62 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/1.029, allocations: 30.22 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/1.029, allocations: 4.281 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/1.03, allocations: 10.73 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/1.03, allocations: 7.047 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/1.03, allocations: 27.3 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/1.03, allocations: 49.92 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.03, allocations: 1.156 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/1.03, allocations: 0 / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.019e-06/1.03, allocations: 0.75 kB / 1.281 GB, free: 10.13 MB / 0.9981 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.0005628/1.03, allocations: 363.6 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.03, allocations: 13.75 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.494e-05/1.03, allocations: 5.656 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/1.03, allocations: 41.67 kB / 1.282 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/1.031, allocations: 16.08 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.031, allocations: 177.8 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.031, allocations: 6.484 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/1.031, allocations: 10.88 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/1.031, allocations: 63.8 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.031, allocations: 1.75 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/1.031, allocations: 0 / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.031, allocations: 9.141 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/1.031, allocations: 40.05 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/1.032, allocations: 298.9 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/1.032, allocations: 64.47 kB / 1.282 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.032, allocations: 22.69 kB / 1.282 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/1.032, allocations: 1.391 kB / 1.282 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/1.032, allocations: 31.59 kB / 1.282 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.032, allocations: 0 / 1.282 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004218/1.033, allocations: 89.33 kB / 1.282 GB, free: 9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.033, allocations: 56.03 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/1.033, allocations: 121.4 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.033, allocations: 26.27 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/1.033, allocations: 96.36 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/1.033, allocations: 10.22 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/1.033, allocations: 14.09 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.033, allocations: 323.1 kB / 1.283 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.033, allocations: 20.69 kB / 1.283 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/1.033, allocations: 17.05 kB / 1.283 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/1.033, allocations: 36.02 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.033, allocations: 0.5938 kB / 1.283 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002548/1.034, allocations: 75.58 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.034, allocations: 6.328 kB / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/1.034, allocations: 0 / 1.283 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.034, allocations: 5 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/1.034, allocations: 9.891 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.034, allocations: 0.5312 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/1.034, allocations: 8.734 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.034, allocations: 1.859 kB / 1.283 GB, free: 8.277 MB / 0.9981 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 8.462e-05/1.034, allocations: 117.2 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/1.034, allocations: 6.578 kB / 1.283 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/1.034, allocations: 14.92 kB / 1.283 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/1.034, allocations: 4.562 kB / 1.283 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/1.034, allocations: 0.625 kB / 1.283 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.034, allocations: 4.438 kB / 1.283 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/1.034, allocations: 170.5 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.034, allocations: 0 / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/1.034, allocations: 10.17 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.034, allocations: 0 / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.034, allocations: 6.328 kB / 1.283 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.034, allocations: 3.938 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.034, allocations: 0.6562 kB / 1.283 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/1.035, allocations: 176.6 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/1.035, allocations: 79.44 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/1.035, allocations: 1.828 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/1.035, allocations: 8.375 kB / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/1.035, allocations: 2.031 kB / 1.284 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/1.035, allocations: 5.688 kB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.84e-05/1.035, allocations: 98.41 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.035, allocations: 0 / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002231/1.035, allocations: 6.688 kB / 1.284 GB, free: 7.586 MB / 0.9981 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.0005784/1.036, allocations: 0.7009 MB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002318/1.036, allocations: 44.03 kB / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.036, allocations: 0 / 1.285 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.645e-05/1.036, allocations: 19.89 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/1.036, allocations: 11.05 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/1.038, allocations: 1.36 MB / 1.286 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/1.038, allocations: 0.685 MB / 1.287 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.282e-05/1.038, allocations: 2.062 kB / 1.287 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/1.038, allocations: 20.14 kB / 1.287 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.038, allocations: 0 / 1.287 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/1.056, allocations: 1.6 MB / 1.288 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/9.409, allocations: 16.89 kB / 1.288 GB, free: 4.52 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.659342133032624]