Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001692/0.001692, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002023/0.002023, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.976/2.976, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_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.00206/0.00206, allocations: 63.91 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.004908/1.026, allocations: 1.548 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001442/1.027, allocations: 0.5127 MB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/1.027, allocations: 1.031 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6e-05/1.027, allocations: 5.062 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/1.028, allocations: 9.641 kB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/1.028, allocations: 31.39 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001838/1.028, allocations: 52.56 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/1.028, allocations: 11.03 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/1.029, allocations: 24.69 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/1.029, allocations: 34.52 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/1.029, allocations: 3.156 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/1.029, allocations: 7.5 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/1.029, allocations: 10.66 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/1.029, allocations: 26.52 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/1.029, allocations: 46.66 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.029, allocations: 1.312 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.005e-06/1.029, allocations: 0 / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.822e-06/1.029, allocations: 0 / 1.342 GB, free: 14.64 MB / 1.061 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.0007003/1.03, allocations: 364.7 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.03, allocations: 9.406 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.019e-05/1.03, allocations: 5.922 kB / 1.343 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/1.03, allocations: 40.61 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/1.03, allocations: 17.16 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/1.03, allocations: 182.5 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/1.03, allocations: 9.688 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/1.03, allocations: 2.906 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/1.031, allocations: 63.47 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.031, allocations: 1.344 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.031, allocations: 0 / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.031, allocations: 5 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/1.031, allocations: 43.69 kB / 1.343 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/1.031, allocations: 296.7 kB / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/1.032, allocations: 64.61 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/1.032, allocations: 25.89 kB / 1.343 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/1.032, allocations: 0.75 kB / 1.343 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/1.032, allocations: 31.91 kB / 1.343 GB, free: 13.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.032, allocations: 0 / 1.343 GB, free: 13.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0006157/1.033, allocations: 92.67 kB / 1.344 GB, free: 13.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.033, allocations: 57.27 kB / 1.344 GB, free: 13.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/1.033, allocations: 121.8 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/1.033, allocations: 25.7 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/1.033, allocations: 92.77 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/1.033, allocations: 9.906 kB / 1.344 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/1.033, allocations: 17.95 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/1.033, allocations: 319 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/1.033, allocations: 21.52 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/1.033, allocations: 21.52 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/1.034, allocations: 34.92 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.034, allocations: 0.7969 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003347/1.034, allocations: 77.33 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.034, allocations: 4.406 kB / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.034, allocations: 0 / 1.344 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.034, allocations: 5.734 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/1.034, allocations: 9.328 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/1.034, allocations: 1.281 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.006e-05/1.034, allocations: 12.31 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/1.034, allocations: 1.516 kB / 1.344 GB, free: 12.79 MB / 1.061 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 7.251e-05/1.034, allocations: 112.4 kB / 1.344 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/1.034, allocations: 7.156 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/1.034, allocations: 12.02 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.034, allocations: 4 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/1.034, allocations: 0 / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.034, allocations: 9.719 kB / 1.344 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/1.035, allocations: 170.1 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.035, allocations: 0 / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.035, allocations: 9.297 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.035, allocations: 1.125 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/1.035, allocations: 4.641 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.035, allocations: 1.188 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.035, allocations: 0.6094 kB / 1.345 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/1.035, allocations: 175.5 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/1.035, allocations: 84.09 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/1.035, allocations: 0.75 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/1.035, allocations: 4.953 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.035, allocations: 2.656 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/1.035, allocations: 5.922 kB / 1.345 GB, free: 12.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.982e-05/1.036, allocations: 104 kB / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/1.036, allocations: 0 / 1.345 GB, free: 12.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003822/1.036, allocations: 10.84 kB / 1.345 GB, free: 12.1 MB / 1.061 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.0006043/1.037, allocations: 0.6939 MB / 1.346 GB, free: 11.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003508/1.037, allocations: 44.23 kB / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.037, allocations: 0 / 1.346 GB, free: 11.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/1.037, allocations: 24.89 kB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/1.037, allocations: 6.062 kB / 1.346 GB, free: 11.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/1.039, allocations: 1.365 MB / 1.347 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.04, allocations: 0.687 MB / 1.348 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.074e-05/1.04, allocations: 3.797 kB / 1.348 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/1.04, allocations: 19.09 kB / 1.348 GB, free: 9.457 MB / 1.061 GB Notification: Performance of SimCode: time 1.412e-06/1.04, allocations: 1.375 kB / 1.348 GB, free: 9.457 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/1.066, allocations: 1.6 MB / 1.349 GB, free: 9.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.87, allocations: 7.656 kB / 1.349 GB, free: 9.043 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.447008456045296]